ArmSecurityCenterModelFactory.AwsEnvironment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AwsEnvironment.
public static Azure.ResourceManager.SecurityCenter.Models.AwsEnvironment AwsEnvironment (Azure.ResourceManager.SecurityCenter.Models.AwsOrganizationalInfo organizationalData = default, System.Collections.Generic.IEnumerable<string> regions = default, string accountName = default, long? scanInterval = default);
static member AwsEnvironment : Azure.ResourceManager.SecurityCenter.Models.AwsOrganizationalInfo * seq<string> * string * Nullable<int64> -> Azure.ResourceManager.SecurityCenter.Models.AwsEnvironment
Public Shared Function AwsEnvironment (Optional organizationalData As AwsOrganizationalInfo = Nothing, Optional regions As IEnumerable(Of String) = Nothing, Optional accountName As String = Nothing, Optional scanInterval As Nullable(Of Long) = Nothing) As AwsEnvironment
Parameters
- organizationalData
- AwsOrganizationalInfo
The AWS account's organizational data Please note AwsOrganizationalInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AwsOrganizationalDataMember and AwsOrganizationalDataMaster.
- regions
- IEnumerable<String>
list of regions to scan.
- accountName
- String
The AWS account name.
Returns
A new AwsEnvironment instance for mocking.
Applies to
Azure SDK for .NET