/// <summary> /// Initializes a new instance of the PatchableCustomLocations class. /// </summary> /// <param name="authentication">This is optional input that contains /// the authentication that should be used to generate the /// namespace.</param> /// <param name="clusterExtensionIds">Contains the reference to the /// add-on that contains charts to deploy CRDs and operators.</param> /// <param name="displayName">Display name for the Custom Locations /// location.</param> /// <param name="hostResourceId">Connected Cluster or AKS Cluster. The /// Custom Locations RP will perform a checkAccess API for /// listAdminCredentials permissions.</param> /// <param name="hostType">Type of host the Custom Locations is /// referencing (Kubernetes, etc...). Possible values include: /// 'Kubernetes'</param> /// <param name="namespaceProperty">Kubernetes namespace that will be /// created on the specified cluster.</param> /// <param name="provisioningState">Provisioning State for the Custom /// Location.</param> /// <param name="tags">Resource tags</param> public PatchableCustomLocations(CustomLocationPropertiesAuthentication authentication = default(CustomLocationPropertiesAuthentication), IList <string> clusterExtensionIds = default(IList <string>), string displayName = default(string), string hostResourceId = default(string), string hostType = default(string), string namespaceProperty = default(string), string provisioningState = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Authentication = authentication; ClusterExtensionIds = clusterExtensionIds; DisplayName = displayName; HostResourceId = hostResourceId; HostType = hostType; NamespaceProperty = namespaceProperty; ProvisioningState = provisioningState; Tags = tags; CustomInit(); }
/// <summary> /// Initializes a new instance of the CustomLocation class. /// </summary> /// <param name="location">The geo-location where the resource /// lives</param> /// <param name="id">Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param> /// <param name="name">The name of the resource</param> /// <param name="type">The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts"</param> /// <param name="tags">Resource tags.</param> /// <param name="authentication">This is optional input that contains /// the authentication that should be used to generate the /// namespace.</param> /// <param name="clusterExtensionIds">Contains the reference to the /// add-on that contains charts to deploy CRDs and operators.</param> /// <param name="displayName">Display name for the Custom Locations /// location.</param> /// <param name="hostResourceId">Connected Cluster or AKS Cluster. The /// Custom Locations RP will perform a checkAccess API for /// listAdminCredentials permissions.</param> /// <param name="hostType">Type of host the Custom Locations is /// referencing (Kubernetes, etc...). Possible values include: /// 'Kubernetes'</param> /// <param name="namespaceProperty">Kubernetes namespace that will be /// created on the specified cluster.</param> /// <param name="provisioningState">Provisioning State for the Custom /// Location.</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource</param> public CustomLocation(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), CustomLocationPropertiesAuthentication authentication = default(CustomLocationPropertiesAuthentication), IList <string> clusterExtensionIds = default(IList <string>), string displayName = default(string), string hostResourceId = default(string), string hostType = default(string), string namespaceProperty = default(string), string provisioningState = default(string), SystemData systemData = default(SystemData)) : base(location, id, name, type, tags) { Authentication = authentication; ClusterExtensionIds = clusterExtensionIds; DisplayName = displayName; HostResourceId = hostResourceId; HostType = hostType; NamespaceProperty = namespaceProperty; ProvisioningState = provisioningState; SystemData = systemData; CustomInit(); }