ArmNetworkCloudModelFactory.NetworkCloudBareMetalMachineKeySetData Method

Definition

public static Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineKeySetData NetworkCloudBareMetalMachineKeySetData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string azureGroupId = default, DateTimeOffset expireOn = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> jumpHostsAllowed = default, string osGroupName = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineKeySetPrivilegeLevel privilegeLevel = default, string privilegeLevelName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KeySetUser> userList = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineKeySetDetailedStatus? detailedStatus = default, string detailedStatusMessage = default, DateTimeOffset? lastValidatedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.KeySetUserStatus> userListStatus = default, Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineKeySetProvisioningState? provisioningState = default, Azure.ETag? eTag = default, Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation extendedLocation = default);
static member NetworkCloudBareMetalMachineKeySetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * DateTimeOffset * seq<System.Net.IPAddress> * string * Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineKeySetPrivilegeLevel * string * seq<Azure.ResourceManager.NetworkCloud.Models.KeySetUser> * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineKeySetDetailedStatus> * string * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.NetworkCloud.Models.KeySetUserStatus> * Nullable<Azure.ResourceManager.NetworkCloud.Models.BareMetalMachineKeySetProvisioningState> * Nullable<Azure.ETag> * Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation -> Azure.ResourceManager.NetworkCloud.NetworkCloudBareMetalMachineKeySetData
Public Shared Function NetworkCloudBareMetalMachineKeySetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional azureGroupId As String = Nothing, Optional expireOn As DateTimeOffset = Nothing, Optional jumpHostsAllowed As IEnumerable(Of IPAddress) = Nothing, Optional osGroupName As String = Nothing, Optional privilegeLevel As BareMetalMachineKeySetPrivilegeLevel = Nothing, Optional privilegeLevelName As String = Nothing, Optional userList As IEnumerable(Of KeySetUser) = Nothing, Optional detailedStatus As Nullable(Of BareMetalMachineKeySetDetailedStatus) = Nothing, Optional detailedStatusMessage As String = Nothing, Optional lastValidatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional userListStatus As IEnumerable(Of KeySetUserStatus) = Nothing, Optional provisioningState As Nullable(Of BareMetalMachineKeySetProvisioningState) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing) As NetworkCloudBareMetalMachineKeySetData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

azureGroupId
String

The object ID of Azure Active Directory group that all users in the list must be in for access to be granted. Users that are not in the group will not have access.

expireOn
DateTimeOffset

The date and time after which the users in this key set will be removed from the bare metal machines.

jumpHostsAllowed
IEnumerable<IPAddress>

The list of IP addresses of jump hosts with management network access from which a login will be allowed for the users.

osGroupName
String

The name of the group that users will be assigned to on the operating system of the machines.

privilegeLevel
BareMetalMachineKeySetPrivilegeLevel

The access level allowed for the users in this key set.

privilegeLevelName
String

The name of the access level to apply when the privilege level is set to Other.

userList
IEnumerable<KeySetUser>

The unique list of permitted users.

detailedStatus
Nullable<BareMetalMachineKeySetDetailedStatus>

The more detailed status of the key set.

detailedStatusMessage
String

The descriptive message about the current detailed status.

lastValidatedOn
Nullable<DateTimeOffset>

The last time this key set was validated.

userListStatus
IEnumerable<KeySetUserStatus>

The status evaluation of each user.

provisioningState
Nullable<BareMetalMachineKeySetProvisioningState>

The provisioning state of the bare metal machine key set.

eTag
Nullable<ETag>

"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").

extendedLocation
Azure.ResourceManager.NetworkCloud.Models.ExtendedLocation

The extended location of the resource. This property is required when creating the resource.

Returns

A new NetworkCloudBareMetalMachineKeySetData instance for mocking.

Exceptions

azureGroupId, jumpHostsAllowed or userList is null.

Applies to