Exemplo n.º 1
0
        private GetManagedClusterResult(
            Outputs.ManagedClusterAADProfileResponse?aadProfile,

            ImmutableDictionary <string, Outputs.ManagedClusterAddonProfileResponse>?addonProfiles,

            ImmutableArray <Outputs.ManagedClusterAgentPoolProfileResponse> agentPoolProfiles,

            Outputs.ManagedClusterAPIServerAccessProfileResponse?apiServerAccessProfile,

            Outputs.ManagedClusterPropertiesResponseAutoScalerProfile?autoScalerProfile,

            string?diskEncryptionSetID,

            string?dnsPrefix,

            bool?enablePodSecurityPolicy,

            bool?enableRBAC,

            string fqdn,

            string id,

            Outputs.ManagedClusterIdentityResponse?identity,

            ImmutableDictionary <string, Outputs.ManagedClusterPropertiesResponseIdentityProfile>?identityProfile,

            string?kubernetesVersion,

            Outputs.ContainerServiceLinuxProfileResponse?linuxProfile,

            string location,

            int maxAgentPools,

            string name,

            Outputs.ContainerServiceNetworkProfileResponse?networkProfile,

            string?nodeResourceGroup,

            Outputs.PowerStateResponse powerState,

            string privateFQDN,

            string provisioningState,

            Outputs.ManagedClusterServicePrincipalProfileResponse?servicePrincipalProfile,

            Outputs.ManagedClusterSKUResponse?sku,

            ImmutableDictionary <string, string>?tags,

            string type,

            Outputs.ManagedClusterWindowsProfileResponse?windowsProfile)
        {
            AadProfile             = aadProfile;
            AddonProfiles          = addonProfiles;
            AgentPoolProfiles      = agentPoolProfiles;
            ApiServerAccessProfile = apiServerAccessProfile;
            AutoScalerProfile      = autoScalerProfile;
            DiskEncryptionSetID    = diskEncryptionSetID;
            DnsPrefix = dnsPrefix;
            EnablePodSecurityPolicy = enablePodSecurityPolicy;
            EnableRBAC              = enableRBAC;
            Fqdn                    = fqdn;
            Id                      = id;
            Identity                = identity;
            IdentityProfile         = identityProfile;
            KubernetesVersion       = kubernetesVersion;
            LinuxProfile            = linuxProfile;
            Location                = location;
            MaxAgentPools           = maxAgentPools;
            Name                    = name;
            NetworkProfile          = networkProfile;
            NodeResourceGroup       = nodeResourceGroup;
            PowerState              = powerState;
            PrivateFQDN             = privateFQDN;
            ProvisioningState       = provisioningState;
            ServicePrincipalProfile = servicePrincipalProfile;
            Sku                     = sku;
            Tags                    = tags;
            Type                    = type;
            WindowsProfile          = windowsProfile;
        }
        private GetAgentPoolResult(
            ImmutableArray <string> availabilityZones,

            int?count,

            bool?enableAutoScaling,

            bool?enableNodePublicIP,

            int?maxCount,

            int?maxPods,

            int?minCount,

            string?mode,

            string name,

            string nodeImageVersion,

            ImmutableDictionary <string, string>?nodeLabels,

            ImmutableArray <string> nodeTaints,

            string?orchestratorVersion,

            int?osDiskSizeGB,

            string?osDiskType,

            string?osType,

            Outputs.PowerStateResponse powerState,

            string provisioningState,

            string?proximityPlacementGroupID,

            string?scaleSetEvictionPolicy,

            string?scaleSetPriority,

            double?spotMaxPrice,

            ImmutableDictionary <string, string>?tags,

            string type,

            Outputs.AgentPoolUpgradeSettingsResponse?upgradeSettings,

            string?vmSize,

            string?vnetSubnetID)
        {
            AvailabilityZones  = availabilityZones;
            Count              = count;
            EnableAutoScaling  = enableAutoScaling;
            EnableNodePublicIP = enableNodePublicIP;
            MaxCount           = maxCount;
            MaxPods            = maxPods;
            MinCount           = minCount;
            Mode                      = mode;
            Name                      = name;
            NodeImageVersion          = nodeImageVersion;
            NodeLabels                = nodeLabels;
            NodeTaints                = nodeTaints;
            OrchestratorVersion       = orchestratorVersion;
            OsDiskSizeGB              = osDiskSizeGB;
            OsDiskType                = osDiskType;
            OsType                    = osType;
            PowerState                = powerState;
            ProvisioningState         = provisioningState;
            ProximityPlacementGroupID = proximityPlacementGroupID;
            ScaleSetEvictionPolicy    = scaleSetEvictionPolicy;
            ScaleSetPriority          = scaleSetPriority;
            SpotMaxPrice              = spotMaxPrice;
            Tags                      = tags;
            Type                      = type;
            UpgradeSettings           = upgradeSettings;
            VmSize                    = vmSize;
            VnetSubnetID              = vnetSubnetID;
        }