Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Don't Merge!][SecureString] [Autorest-based][Az.MachineLearningServices] Update ServiceBusConnectionString from String to SecureString #26910

Open
wants to merge 1 commit into
base: generation
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ use-extension:

directive:
# Fix URL type in autorest v3
- from: swagger-document
where: $.definitions.KubernetesProperties.properties.serviceBusConnectionString
transform: $["format"] = "password"
- from: swagger-document
where: $.definitions.WorkspaceConnectionOAuth2.properties.authUrl
transform: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function New-AzMLWorkspaceKubernetesObject {
[string]
$RelayConnectionString,
[Parameter(HelpMessage="ServiceBus connection string.")]
[string]
[System.Security.SecureString]
$ServiceBusConnectionString,
[Parameter(HelpMessage="VC name.")]
[string]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ New-AzMLWorkspaceKubernetesObject [-DefaultInstanceType <String>] [-Description
[-DisableLocalAuth <Boolean>] [-ExtensionInstanceReleaseTrain <String>] [-ExtensionPrincipalId <String>]
[-InstanceLimit <Hashtable>] [-InstanceNodeSelector <Hashtable>] [-InstanceRequest <Hashtable>]
[-Namespace <String>] [-RelayConnectionString <String>] [-ResourceId <String>]
[-ServiceBusConnectionString <String>] [-VcName <String>] [<CommonParameters>]
[-ServiceBusConnectionString <SecureString>] [-VcName <String>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -203,7 +203,7 @@ Accept wildcard characters: False
ServiceBus connection string.

```yaml
Type: System.String
Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Expand Down
Loading