Skip to content
Closed
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 @@ -1115,8 +1115,8 @@ class ScopeMap(ProxyResource):
~azure.mgmt.containerregistry.v2019_05_01_preview.models.ProvisioningState
:param actions: Required. The list of scoped permissions for registry
artifacts.
E.g. repositories/repository-name/pull,
repositories/repository-name/delete
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
:type actions: list[str]
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,8 @@ class ScopeMap(ProxyResource):
~azure.mgmt.containerregistry.v2019_05_01_preview.models.ProvisioningState
:param actions: Required. The list of scoped permissions for registry
artifacts.
E.g. repositories/repository-name/pull,
repositories/repository-name/delete
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
:type actions: list[str]
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down Expand Up @@ -118,7 +118,7 @@ def _create_initial(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down Expand Up @@ -175,8 +175,8 @@ def create(
:param scope_map_name: The name of the scope map.
:type scope_map_name: str
:param actions: The list of scoped permissions for registry artifacts.
E.g. repositories/repository-name/pull,
repositories/repository-name/delete
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
:type actions: list[str]
:param description: The user friendly description of the scope map.
:type description: str
Expand Down Expand Up @@ -231,7 +231,7 @@ def _delete_initial(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down Expand Up @@ -317,7 +317,7 @@ def _update_initial(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2573,8 +2573,8 @@ class ScopeMap(ProxyResource):
~azure.mgmt.containerregistry.v2019_06_01_preview.models.ProvisioningState
:param actions: Required. The list of scoped permissions for registry
artifacts.
E.g. repositories/repository-name/pull,
repositories/repository-name/delete
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
:type actions: list[str]
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2573,8 +2573,8 @@ class ScopeMap(ProxyResource):
~azure.mgmt.containerregistry.v2019_06_01_preview.models.ProvisioningState
:param actions: Required. The list of scoped permissions for registry
artifacts.
E.g. repositories/repository-name/pull,
repositories/repository-name/delete
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
:type actions: list[str]
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down Expand Up @@ -118,7 +118,7 @@ def _create_initial(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down Expand Up @@ -175,8 +175,8 @@ def create(
:param scope_map_name: The name of the scope map.
:type scope_map_name: str
:param actions: The list of scoped permissions for registry artifacts.
E.g. repositories/repository-name/pull,
repositories/repository-name/delete
E.g. repositories/repository-name/content/read,
repositories/repository-name/metadata/write
:type actions: list[str]
:param description: The user friendly description of the scope map.
:type description: str
Expand Down Expand Up @@ -231,7 +231,7 @@ def _delete_initial(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down Expand Up @@ -317,7 +317,7 @@ def _update_initial(
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'),
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', min_length=1),
'registryName': self._serialize.url("registry_name", registry_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9]*$'),
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$')
'scopeMapName': self._serialize.url("scope_map_name", scope_map_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-_]*$')
}
url = self._client.format_url(url, **path_format_arguments)

Expand Down