Esempio n. 1
0
        private ContainerResponse(
            ImmutableArray <string> command,

            ImmutableArray <Outputs.EnvironmentVariableResponse> environmentVariables,

            string image,

            Outputs.ContainerPropertiesResponseInstanceView instanceView,

            string name,

            ImmutableArray <Outputs.ContainerPortResponse> ports,

            Outputs.ResourceRequirementsResponse resources,

            ImmutableArray <Outputs.VolumeMountResponse> volumeMounts)
        {
            Command = command;
            EnvironmentVariables = environmentVariables;
            Image        = image;
            InstanceView = instanceView;
            Name         = name;
            Ports        = ports;
            Resources    = resources;
            VolumeMounts = volumeMounts;
        }
Esempio n. 2
0
        private ContainerCodePackagePropertiesResponse(
            ImmutableArray <string> commands,

            Outputs.DiagnosticsRefResponse?diagnostics,

            ImmutableArray <Outputs.EndpointPropertiesResponse> endpoints,

            string?entrypoint,

            ImmutableArray <Outputs.EnvironmentVariableResponse> environmentVariables,

            string image,

            Outputs.ImageRegistryCredentialResponse?imageRegistryCredential,

            Outputs.ContainerInstanceViewResponse instanceView,

            ImmutableArray <Outputs.ContainerLabelResponse> labels,

            string name,

            ImmutableArray <Outputs.ReliableCollectionsRefResponse> reliableCollectionsRefs,

            Outputs.ResourceRequirementsResponse resources,

            ImmutableArray <Outputs.SettingResponse> settings,

            ImmutableArray <Outputs.VolumeReferenceResponse> volumeRefs,

            ImmutableArray <Outputs.ApplicationScopedVolumeResponse> volumes)
        {
            Commands             = commands;
            Diagnostics          = diagnostics;
            Endpoints            = endpoints;
            Entrypoint           = entrypoint;
            EnvironmentVariables = environmentVariables;
            Image = image;
            ImageRegistryCredential = imageRegistryCredential;
            InstanceView            = instanceView;
            Labels = labels;
            Name   = name;
            ReliableCollectionsRefs = reliableCollectionsRefs;
            Resources  = resources;
            Settings   = settings;
            VolumeRefs = volumeRefs;
            Volumes    = volumes;
        }