Secrets interface
Interface representing a Secrets.
Methods
create |
The operation returns properties of a Secret. |
delete(string, string, string, Secrets |
The operation returns nothing. |
get(string, string, string, Secrets |
The operation returns properties of a Secret. |
list(string, string, Secrets |
The operation returns properties of each Secret. |
update(string, string, string, Secret |
The operation returns properties of a Secret. |
Method Details
createOrUpdate(string, string, string, Secret, SecretsCreateOrUpdateOptionalParams)
The operation returns properties of a Secret.
function createOrUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: Secret, options?: SecretsCreateOrUpdateOptionalParams): Promise<Secret>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the OpenShift cluster resource.
- childResourceName
-
string
The name of the Secret resource.
- parameters
- Secret
The Secret resource.
The options parameters.
Returns
Promise<Secret>
delete(string, string, string, SecretsDeleteOptionalParams)
The operation returns nothing.
function delete(resourceGroupName: string, resourceName: string, childResourceName: string, options?: SecretsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the OpenShift cluster resource.
- childResourceName
-
string
The name of the Secret resource.
- options
- SecretsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, SecretsGetOptionalParams)
The operation returns properties of a Secret.
function get(resourceGroupName: string, resourceName: string, childResourceName: string, options?: SecretsGetOptionalParams): Promise<Secret>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the OpenShift cluster resource.
- childResourceName
-
string
The name of the Secret resource.
- options
- SecretsGetOptionalParams
The options parameters.
Returns
Promise<Secret>
list(string, string, SecretsListOptionalParams)
The operation returns properties of each Secret.
function list(resourceGroupName: string, resourceName: string, options?: SecretsListOptionalParams): PagedAsyncIterableIterator<Secret, Secret[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the OpenShift cluster resource.
- options
- SecretsListOptionalParams
The options parameters.
Returns
update(string, string, string, SecretUpdate, SecretsUpdateOptionalParams)
The operation returns properties of a Secret.
function update(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: SecretUpdate, options?: SecretsUpdateOptionalParams): Promise<Secret>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the OpenShift cluster resource.
- childResourceName
-
string
The name of the Secret resource.
- parameters
- SecretUpdate
The Secret resource.
- options
- SecretsUpdateOptionalParams
The options parameters.
Returns
Promise<Secret>
Azure SDK for JavaScript