Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeshSecret

Package version

Class representing a MeshSecret.

Hierarchy

  • MeshSecret

Index

Constructors

constructor

Methods

createOrUpdate

  • Creates a Secret resource with the specified name, description and properties. If Secret resource with the same name exists, then it is updated with the specified description and properties. Once created, the kind and contentType of a secret resource cannot be updated.

    summary

    Creates or updates a Secret resource.

    Parameters

    • secretResourceName: string

      The name of the secret resource.

    • secretResourceDescription: SecretResourceDescription

      Description for creating a secret resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MeshSecretCreateOrUpdateResponse>

    Promise<Models.MeshSecretCreateOrUpdateResponse>

  • Parameters

    Returns void

  • Parameters

    • secretResourceName: string

      The name of the secret resource.

    • secretResourceDescription: SecretResourceDescription

      Description for creating a secret resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<SecretResourceDescription>

      The callback

    Returns void

deleteMethod

  • deleteMethod(secretResourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>
  • deleteMethod(secretResourceName: string, callback: msRest.ServiceCallback<void>): void
  • deleteMethod(secretResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void
  • Deletes the specified Secret resource and all of its named values.

    summary

    Deletes the Secret resource.

    Parameters

    • secretResourceName: string

      The name of the secret resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<msRest.RestResponse>

    Promise<msRest.RestResponse>

  • Parameters

    • secretResourceName: string

      The name of the secret resource.

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

  • Parameters

    • secretResourceName: string

      The name of the secret resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<void>

      The callback

    Returns void

get

  • get(secretResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.MeshSecretGetResponse>
  • get(secretResourceName: string, callback: msRest.ServiceCallback<SecretResourceDescription>): void
  • get(secretResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<SecretResourceDescription>): void
  • Gets the information about the Secret resource with the given name. The information include the description and other properties of the Secret.

    summary

    Gets the Secret resource with the given name.

    Parameters

    • secretResourceName: string

      The name of the secret resource.

    • Optional options: msRest.RequestOptionsBase

    Returns Promise<Models.MeshSecretGetResponse>

    Promise<Models.MeshSecretGetResponse>

  • Parameters

    • secretResourceName: string

      The name of the secret resource.

    • callback: msRest.ServiceCallback<SecretResourceDescription>

      The callback

    Returns void

  • Parameters

    • secretResourceName: string

      The name of the secret resource.

    • options: msRest.RequestOptionsBase

      The optional parameters

    • callback: msRest.ServiceCallback<SecretResourceDescription>

      The callback

    Returns void

list

Generated using TypeDoc