-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releasing version 98.0.0
- Loading branch information
Showing
494 changed files
with
19,727 additions
and
1,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
/* | ||
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. | ||
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. | ||
*/ | ||
|
||
// NOTE: Code generated by OracleSDKGenerator. | ||
// DO NOT EDIT this file manually. | ||
|
||
|
||
using System.ComponentModel.DataAnnotations; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
|
||
namespace Oci.CloudbridgeService.Models | ||
{ | ||
/// <summary> | ||
/// AWS asset source. Used for discovery of EC2 instances and EBS volumes registered for the AWS account. | ||
/// | ||
/// </summary> | ||
public class AwsAssetSource : AssetSource | ||
{ | ||
|
||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "DiscoveryCredentials is required.")] | ||
[JsonProperty(PropertyName = "discoveryCredentials")] | ||
public AssetSourceCredentials DiscoveryCredentials { get; set; } | ||
|
||
[JsonProperty(PropertyName = "replicationCredentials")] | ||
public AssetSourceCredentials ReplicationCredentials { get; set; } | ||
|
||
/// <value> | ||
/// AWS region information, from where the resources are discovered. | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "AwsRegion is required.")] | ||
[JsonProperty(PropertyName = "awsRegion")] | ||
public string AwsRegion { get; set; } | ||
|
||
/// <value> | ||
/// The key of customer's aws account to be discovered/migrated. | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "AwsAccountKey is required.")] | ||
[JsonProperty(PropertyName = "awsAccountKey")] | ||
public string AwsAccountKey { get; set; } | ||
|
||
/// <value> | ||
/// Flag indicating whether historical metrics are collected for assets, originating from this asset source. | ||
/// </value> | ||
[JsonProperty(PropertyName = "areHistoricalMetricsCollected")] | ||
public System.Nullable<bool> AreHistoricalMetricsCollected { get; set; } | ||
|
||
/// <value> | ||
/// Flag indicating whether real-time metrics are collected for assets, originating from this asset source. | ||
/// </value> | ||
[JsonProperty(PropertyName = "areRealtimeMetricsCollected")] | ||
public System.Nullable<bool> AreRealtimeMetricsCollected { get; set; } | ||
|
||
/// <value> | ||
/// Flag indicating whether cost data collection is enabled for assets, originating from this asset source. | ||
/// </value> | ||
[JsonProperty(PropertyName = "isCostInformationCollected")] | ||
public System.Nullable<bool> IsCostInformationCollected { get; set; } | ||
|
||
[JsonProperty(PropertyName = "type")] | ||
private readonly string type = "AWS"; | ||
} | ||
} |
Oops, something went wrong.