-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Relay: Fixed issue #8775 : #9900
Conversation
…d client authroization
src/azure-cli/HISTORY.rst
Outdated
@@ -3,6 +3,11 @@ | |||
Release History | |||
=============== | |||
|
|||
**Relay** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be alphabetical in the list.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sur, will make change
c.argument('user_metadata', help='Endpoint metadata') | ||
|
||
with self.argument_context('relay wcfrelay update') as c: | ||
c.argument('relay_name', arg_type=name_type, id_part='child_name_1', help='Name of WCF Relay') | ||
c.argument('status', arg_type=get_enum_type(['Active', 'Disabled', 'SendDisabled', 'ReceiveDisabled']), help='Enumerates the possible values for the status of a messaging entity.') | ||
c.argument('relay_type', arg_type=get_enum_type(['Http', 'NetTcp']), default='NetTcp', help='Relay type') | ||
c.argument('requires_client_authorization', arg_type=get_three_state_flag(), help='Indicates whether client authorization is required') | ||
c.argument('requires_transport_security', arg_type=get_three_state_flag(), help='Indicates whether transport security is required') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need this duplication. This should just be registered under a scope of 'relay wcfrelay'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me check with PM, as 'requires_client_authorization' and 'requires_transport_security' can be set only at create wcfrelay and can not be changed. I think its should be removed from update command.
Fixed issue #8775 : Cannot create hybrid connection with disabled client authroization
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).
I adhere to the Command Guidelines.