Example #1
0
        private GetDedicatedHostResult(
            bool?autoReplaceOnFailure,

            string hostId,

            string id,

            Outputs.DedicatedHostInstanceViewResponse instanceView,

            string?licenseType,

            string location,

            string name,

            int?platformFaultDomain,

            string provisioningState,

            string provisioningTime,

            Outputs.SkuResponse sku,

            ImmutableDictionary <string, string>?tags,

            string type,

            ImmutableArray <Outputs.SubResourceReadOnlyResponse> virtualMachines)
        {
            AutoReplaceOnFailure = autoReplaceOnFailure;
            HostId              = hostId;
            Id                  = id;
            InstanceView        = instanceView;
            LicenseType         = licenseType;
            Location            = location;
            Name                = name;
            PlatformFaultDomain = platformFaultDomain;
            ProvisioningState   = provisioningState;
            ProvisioningTime    = provisioningTime;
            Sku                 = sku;
            Tags                = tags;
            Type                = type;
            VirtualMachines     = virtualMachines;
        }
        private GetVirtualMachineScaleSetVMResult(
            Outputs.AdditionalCapabilitiesResponse?additionalCapabilities,

            Outputs.SubResourceResponse?availabilitySet,

            Outputs.DiagnosticsProfileResponse?diagnosticsProfile,

            Outputs.HardwareProfileResponse?hardwareProfile,

            string instanceId,

            Outputs.VirtualMachineScaleSetVMInstanceViewResponse instanceView,

            bool latestModelApplied,

            string?licenseType,

            string location,

            string modelDefinitionApplied,

            string name,

            Outputs.NetworkProfileResponse?networkProfile,

            Outputs.VirtualMachineScaleSetVMNetworkProfileConfigurationResponse?networkProfileConfiguration,

            Outputs.OSProfileResponse?osProfile,

            Outputs.PlanResponse?plan,

            Outputs.VirtualMachineScaleSetVMProtectionPolicyResponse?protectionPolicy,

            string provisioningState,

            ImmutableArray <Outputs.VirtualMachineExtensionResponse> resources,

            Outputs.SkuResponse sku,

            Outputs.StorageProfileResponse?storageProfile,

            ImmutableDictionary <string, string>?tags,

            string type,

            string vmId,

            ImmutableArray <string> zones)
        {
            AdditionalCapabilities = additionalCapabilities;
            AvailabilitySet        = availabilitySet;
            DiagnosticsProfile     = diagnosticsProfile;
            HardwareProfile        = hardwareProfile;
            InstanceId             = instanceId;
            InstanceView           = instanceView;
            LatestModelApplied     = latestModelApplied;
            LicenseType            = licenseType;
            Location = location;
            ModelDefinitionApplied = modelDefinitionApplied;
            Name           = name;
            NetworkProfile = networkProfile;
            NetworkProfileConfiguration = networkProfileConfiguration;
            OsProfile         = osProfile;
            Plan              = plan;
            ProtectionPolicy  = protectionPolicy;
            ProvisioningState = provisioningState;
            Resources         = resources;
            Sku            = sku;
            StorageProfile = storageProfile;
            Tags           = tags;
            Type           = type;
            VmId           = vmId;
            Zones          = zones;
        }