/// <summary> /// Initializes a new instance of the ExtensionInstance class. /// </summary> /// <param name="id">Resource Id</param> /// <param name="name">Resource name</param> /// <param name="type">Resource type</param> /// <param name="systemData">Top level metadata /// https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources</param> /// <param name="extensionType">Type of the Extension, of which this /// resource is an instance of. It must be one of the Extension Types /// registered with Microsoft.KubernetesConfiguration by the Extension /// publisher.</param> /// <param name="autoUpgradeMinorVersion">Flag to note if this instance /// participates in auto upgrade of minor version, or not.</param> /// <param name="releaseTrain">ReleaseTrain this extension instance /// participates in for auto-upgrade (e.g. Stable, Preview, etc.) - /// only if autoUpgradeMinorVersion is 'true'.</param> /// <param name="version">Version of the extension for this extension /// instance, if it is 'pinned' to a specific version. /// autoUpgradeMinorVersion must be 'false'.</param> /// <param name="scope">Scope at which the extension instance is /// installed.</param> /// <param name="configurationSettings">Configuration settings, as /// name-value pairs for configuring this instance of the /// extension.</param> /// <param name="configurationProtectedSettings">Configuration settings /// that are sensitive, as name-value pairs for configuring this /// instance of the extension.</param> /// <param name="installState">Status of installation of this instance /// of the extension. Possible values include: 'Pending', 'Installed', /// 'Failed'</param> /// <param name="statuses">Status from this instance of the /// extension.</param> /// <param name="creationTime">DateLiteral (per ISO8601) noting the /// time the resource was created by the client (user).</param> /// <param name="lastModifiedTime">DateLiteral (per ISO8601) noting the /// time the resource was modified by the client (user).</param> /// <param name="lastStatusTime">DateLiteral (per ISO8601) noting the /// time of last status from the agent.</param> /// <param name="errorInfo">Error information from the Agent - e.g. /// errors during installation.</param> /// <param name="identity">The identity of the configuration.</param> public ExtensionInstance(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string location = default(string), string extensionType = default(string), bool?autoUpgradeMinorVersion = default(bool?), string releaseTrain = default(string), string version = default(string), Scope scope = default(Scope), IDictionary <string, string> configurationSettings = default(IDictionary <string, string>), IDictionary <string, string> configurationProtectedSettings = default(IDictionary <string, string>), string installState = default(string), IList <ExtensionStatus> statuses = default(IList <ExtensionStatus>), string creationTime = default(string), string lastModifiedTime = default(string), string lastStatusTime = default(string), ErrorDefinition errorInfo = default(ErrorDefinition), ConfigurationIdentity identity = default(ConfigurationIdentity)) : base(id, name, type, systemData) { Location = location; ExtensionType = extensionType; AutoUpgradeMinorVersion = autoUpgradeMinorVersion; ReleaseTrain = releaseTrain; Version = version; Scope = scope; ConfigurationSettings = configurationSettings; ConfigurationProtectedSettings = configurationProtectedSettings; InstallState = installState; Statuses = statuses; CreationTime = creationTime; LastModifiedTime = lastModifiedTime; LastStatusTime = lastStatusTime; ErrorInfo = errorInfo; Identity = identity; CustomInit(); }
/// <summary> /// Initializes a new instance of the ErrorResponse class. /// </summary> /// <param name="error">Error definition.</param> public ErrorResponse(ErrorDefinition error = default(ErrorDefinition)) { Error = error; CustomInit(); }