internal VirtualMachineData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, SystemAssignedServiceIdentity identity, string resourcePoolId, string templateId, string vCenterId, PlacementProfile placementProfile, OSProfile osProfile, HardwareProfile hardwareProfile, NetworkProfile networkProfile, StorageProfile storageProfile, GuestAgentProfile guestAgentProfile, string moRefId, string inventoryItemId, string moName, string folderPath, string instanceUuid, string smbiosUuid, FirmwareType?firmwareType, string powerState, string customResourceName, string uuid, IReadOnlyList <ResourceStatus> statuses, string provisioningState, string vmId) : base(id, name, type, systemData, tags, location)
 {
     ExtendedLocation   = extendedLocation;
     Kind               = kind;
     Identity           = identity;
     ResourcePoolId     = resourcePoolId;
     TemplateId         = templateId;
     VCenterId          = vCenterId;
     PlacementProfile   = placementProfile;
     OSProfile          = osProfile;
     HardwareProfile    = hardwareProfile;
     NetworkProfile     = networkProfile;
     StorageProfile     = storageProfile;
     GuestAgentProfile  = guestAgentProfile;
     MoRefId            = moRefId;
     InventoryItemId    = inventoryItemId;
     MoName             = moName;
     FolderPath         = folderPath;
     InstanceUuid       = instanceUuid;
     SmbiosUuid         = smbiosUuid;
     FirmwareType       = firmwareType;
     PowerState         = powerState;
     CustomResourceName = customResourceName;
     Uuid               = uuid;
     Statuses           = statuses;
     ProvisioningState  = provisioningState;
     VmId               = vmId;
 }
Пример #2
0
 internal HybridIdentityMetadataData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string vmId, string publicKey, SystemAssignedServiceIdentity identity, string provisioningState) : base(id, name, resourceType, systemData)
 {
     VmId              = vmId;
     PublicKey         = publicKey;
     Identity          = identity;
     ProvisioningState = provisioningState;
 }
 internal ResourceModelWithAllowedPropertySet(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan) : base(id, name, resourceType, systemData, tags, location)
 {
     ManagedBy = managedBy;
     Kind      = kind;
     Etag      = etag;
     Identity  = identity;
     Sku       = sku;
     Plan      = plan;
 }
 internal DiskEncryptionSetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, SystemAssignedServiceIdentity identity, DiskEncryptionSetType?encryptionType, KeyForDiskEncryptionSet activeKey, IReadOnlyList <KeyForDiskEncryptionSet> previousKeys, string provisioningState, bool?rotationToLatestKeyVersionEnabled, DateTimeOffset?lastKeyRotationTimestamp, ApiError autoKeyRotationError) : base(id, name, type, systemData, tags, location)
 {
     Identity          = identity;
     EncryptionType    = encryptionType;
     ActiveKey         = activeKey;
     PreviousKeys      = previousKeys;
     ProvisioningState = provisioningState;
     RotationToLatestKeyVersionEnabled = rotationToLatestKeyVersionEnabled;
     LastKeyRotationTimestamp          = lastKeyRotationTimestamp;
     AutoKeyRotationError = autoKeyRotationError;
 }
Пример #5
0
 internal CustomLocationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, SystemAssignedServiceIdentity identity, CustomLocationPropertiesAuthentication authentication, IList <string> clusterExtensionIds, string displayName, string hostResourceId, HostType?hostType, string @namespace, string provisioningState) : base(id, name, resourceType, systemData, tags, location)
 {
     Identity            = identity;
     Authentication      = authentication;
     ClusterExtensionIds = clusterExtensionIds;
     DisplayName         = displayName;
     HostResourceId      = hostResourceId;
     HostType            = hostType;
     Namespace           = @namespace;
     ProvisioningState   = provisioningState;
 }
 internal PolicyAssignmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, SystemAssignedServiceIdentity identity, string displayName, string policyDefinitionId, string scope, IList <string> notScopes, IDictionary <string, ParameterValuesValue> parameters, string description, object metadata, EnforcementMode?enforcementMode, IList <NonComplianceMessage> nonComplianceMessages) : base(id, name, type, systemData)
 {
     Location           = location;
     Identity           = identity;
     DisplayName        = displayName;
     PolicyDefinitionId = policyDefinitionId;
     Scope                 = scope;
     NotScopes             = notScopes;
     Parameters            = parameters;
     Description           = description;
     Metadata              = metadata;
     EnforcementMode       = enforcementMode;
     NonComplianceMessages = nonComplianceMessages;
 }
 internal IotCentralAppData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, AppSkuInfo sku, SystemAssignedServiceIdentity identity, ProvisioningState?provisioningState, string applicationId, string displayName, string subdomain, string template, AppState?state, PublicNetworkAccess?publicNetworkAccess, NetworkRuleSets networkRuleSets, IReadOnlyList <IotCentralPrivateEndpointConnectionData> privateEndpointConnections) : base(id, name, resourceType, systemData, tags, location)
 {
     Sku                        = sku;
     Identity                   = identity;
     ProvisioningState          = provisioningState;
     ApplicationId              = applicationId;
     DisplayName                = displayName;
     Subdomain                  = subdomain;
     Template                   = template;
     State                      = state;
     PublicNetworkAccess        = publicNetworkAccess;
     NetworkRuleSets            = networkRuleSets;
     PrivateEndpointConnections = privateEndpointConnections;
 }
        protected App CreateIotCentral(
            ResourceGroup resourceGroup,
            string location,
            string appResourceName,
            string appSubdomain,
            SystemAssignedServiceIdentity identity = null,
            string sku = null)
        {
            var app = CreateIotCentralApp(location, appResourceName, appSubdomain, sku);

            // Set system-assigned identity as default.
            if (identity != null)
            {
                app.Identity = identity;
            }

            return(this.iotCentralClient.Apps.CreateOrUpdate(
                       resourceGroup.Name,
                       appResourceName,
                       app));
        }
Пример #9
0
 internal ClusterResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, SystemAssignedServiceIdentity identity, ClusterResourceProperties properties) : base(id, name, resourceType, systemData, tags, location, identity)
 {
     Properties = properties;
 }
Пример #10
0
 internal VirtualWorkspaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, IList <string> applicationGroupReferences, bool?cloudPcResource) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan)
 {
     ObjectId     = objectId;
     Description  = description;
     FriendlyName = friendlyName;
     ApplicationGroupReferences = applicationGroupReferences;
     CloudPcResource            = cloudPcResource;
 }
Пример #11
0
 internal ScalingPlanData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, Plan plan, string objectId, string description, string friendlyName, string timeZone, HostPoolType?hostPoolType, string exclusionTag, IList <ScalingSchedule> schedules, IList <ScalingHostPoolReference> hostPoolReferences) : base(id, name, type, systemData, tags, location, managedBy, kind, etag, identity, sku, plan)
 {
     ObjectId           = objectId;
     Description        = description;
     FriendlyName       = friendlyName;
     TimeZone           = timeZone;
     HostPoolType       = hostPoolType;
     ExclusionTag       = exclusionTag;
     Schedules          = schedules;
     HostPoolReferences = hostPoolReferences;
 }
 internal HostPoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string friendlyName, string description, HostPoolType hostPoolType, PersonalDesktopAssignmentType?personalDesktopAssignmentType, string customRdpProperty, int?maxSessionLimit, LoadBalancerType loadBalancerType, int?ring, bool?validationEnvironment, RegistrationInfo registrationInfo, string vmTemplate, IReadOnlyList <string> applicationGroupReferences, string ssoadfsAuthority, string ssoClientId, string ssoClientSecretKeyVaultPath, SsoSecretType?ssoSecretType, PreferredAppGroupType preferredAppGroupType, bool?startVmOnConnect, MigrationRequestProperties migrationRequest, bool?cloudPcResource) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan)
 {
     ObjectId     = objectId;
     FriendlyName = friendlyName;
     Description  = description;
     HostPoolType = hostPoolType;
     PersonalDesktopAssignmentType = personalDesktopAssignmentType;
     CustomRdpProperty             = customRdpProperty;
     MaxSessionLimit             = maxSessionLimit;
     LoadBalancerType            = loadBalancerType;
     Ring                        = ring;
     ValidationEnvironment       = validationEnvironment;
     RegistrationInfo            = registrationInfo;
     VmTemplate                  = vmTemplate;
     ApplicationGroupReferences  = applicationGroupReferences;
     SsoadfsAuthority            = ssoadfsAuthority;
     SsoClientId                 = ssoClientId;
     SsoClientSecretKeyVaultPath = ssoClientSecretKeyVaultPath;
     SsoSecretType               = ssoSecretType;
     PreferredAppGroupType       = preferredAppGroupType;
     StartVmOnConnect            = startVmOnConnect;
     MigrationRequest            = migrationRequest;
     CloudPcResource             = cloudPcResource;
 }
 internal ManagedCassandraARMResourceProperties(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, SystemAssignedServiceIdentity identity) : base(id, name, type, systemData, tags, location)
 {
     Identity = identity;
 }
 internal VirtualApplicationGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, string hostPoolArmPath, string workspaceArmPath, ApplicationGroupType applicationGroupType, MigrationRequestProperties migrationRequest, bool?cloudPcResource) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan)
 {
     ObjectId             = objectId;
     Description          = description;
     FriendlyName         = friendlyName;
     HostPoolArmPath      = hostPoolArmPath;
     WorkspaceArmPath     = workspaceArmPath;
     ApplicationGroupType = applicationGroupType;
     MigrationRequest     = migrationRequest;
     CloudPcResource      = cloudPcResource;
 }