コード例 #1
0
        private GetManagedClusterResult(
            Outputs.ManagedClusterAADProfileResponse?aadProfile,

            ImmutableDictionary <string, Outputs.ManagedClusterAddonProfileResponse>?addonProfiles,

            ImmutableArray <Outputs.ManagedClusterAgentPoolProfileResponse> agentPoolProfiles,

            Outputs.ManagedClusterAPIServerAccessProfileResponse?apiServerAccessProfile,

            Outputs.ManagedClusterPropertiesResponseAutoScalerProfile?autoScalerProfile,

            Outputs.ManagedClusterAutoUpgradeProfileResponse?autoUpgradeProfile,

            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.ManagedClusterPodIdentityProfileResponse?podIdentityProfile,

            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;
            AutoUpgradeProfile     = autoUpgradeProfile;
            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;
            PodIdentityProfile      = podIdentityProfile;
            PowerState              = powerState;
            PrivateFQDN             = privateFQDN;
            ProvisioningState       = provisioningState;
            ServicePrincipalProfile = servicePrincipalProfile;
            Sku                     = sku;
            Tags                    = tags;
            Type                    = type;
            WindowsProfile          = windowsProfile;
        }
コード例 #2
0
        private GetAgentPoolResult(
            ImmutableArray <string> availabilityZones,

            int?count,

            bool?enableAutoScaling,

            bool?enableNodePublicIP,

            string id,

            Outputs.KubeletConfigResponse?kubeletConfig,

            Outputs.LinuxOSConfigResponse?linuxOSConfig,

            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,

            string?podSubnetID,

            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;
            Id                        = id;
            KubeletConfig             = kubeletConfig;
            LinuxOSConfig             = linuxOSConfig;
            MaxCount                  = maxCount;
            MaxPods                   = maxPods;
            MinCount                  = minCount;
            Mode                      = mode;
            Name                      = name;
            NodeImageVersion          = nodeImageVersion;
            NodeLabels                = nodeLabels;
            NodeTaints                = nodeTaints;
            OrchestratorVersion       = orchestratorVersion;
            OsDiskSizeGB              = osDiskSizeGB;
            OsDiskType                = osDiskType;
            OsType                    = osType;
            PodSubnetID               = podSubnetID;
            PowerState                = powerState;
            ProvisioningState         = provisioningState;
            ProximityPlacementGroupID = proximityPlacementGroupID;
            ScaleSetEvictionPolicy    = scaleSetEvictionPolicy;
            ScaleSetPriority          = scaleSetPriority;
            SpotMaxPrice              = spotMaxPrice;
            Tags                      = tags;
            Type                      = type;
            UpgradeSettings           = upgradeSettings;
            VmSize                    = vmSize;
            VnetSubnetID              = vnetSubnetID;
        }