diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md b/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md index 7371b498cd30..8ec220780866 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md +++ b/sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md @@ -1,5 +1,25 @@ # Release History +## 3.0.0rc15(2020-9-16) +**Features** + + - Model FileTaskRunRequest has a new parameter log_template + - Model Run has a new parameter log_artifact + - Model EncodedTaskRunRequest has a new parameter log_template + - Model ImportPipeline has a new parameter location + - Model TaskRunRequest has a new parameter log_template + - Model Task has a new parameter log_template + - Model Task has a new parameter is_system_task + - Model RunRequest has a new parameter log_template + - Model ExportPipeline has a new parameter location + - Model TaskUpdateParameters has a new parameter log_template + - Model TaskRunUpdateParameters has a new parameter location + - Model DockerBuildRequest has a new parameter log_template + +**Breaking changes** + + - Model TaskRun no longer has parameter tags + ## 3.0.0rc14(2020-06-15) **Features** diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py index b95eebff1bfa..1ce8a4643201 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py @@ -571,6 +571,9 @@ class RunRequest(Model): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str """ @@ -582,6 +585,7 @@ class RunRequest(Model): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -593,6 +597,7 @@ def __init__(self, **kwargs): super(RunRequest, self).__init__(**kwargs) self.is_archive_enabled = kwargs.get('is_archive_enabled', False) self.agent_pool_name = kwargs.get('agent_pool_name', None) + self.log_template = kwargs.get('log_template', None) self.type = None @@ -606,6 +611,9 @@ class DockerBuildRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -656,6 +664,7 @@ class DockerBuildRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, @@ -913,6 +922,9 @@ class EncodedTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Required. Base64 encoded value of the @@ -955,6 +967,7 @@ class EncodedTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, @@ -1310,6 +1323,9 @@ class FileTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: Required. The template/definition file path @@ -1352,6 +1368,7 @@ class FileTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, @@ -2635,6 +2652,9 @@ class Run(ProxyResource): :vartype run_error_message: str :param update_trigger_token: The update trigger token passed for the Run. :type update_trigger_token: str + :ivar log_artifact: The image description for the log artifact. + :vartype log_artifact: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.ImageDescriptor :param provisioning_state: The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -2650,6 +2670,7 @@ class Run(ProxyResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'run_error_message': {'readonly': True}, + 'log_artifact': {'readonly': True}, } _attribute_map = { @@ -2675,6 +2696,7 @@ class Run(ProxyResource): 'custom_registries': {'key': 'properties.customRegistries', 'type': '[str]'}, 'run_error_message': {'key': 'properties.runErrorMessage', 'type': 'str'}, 'update_trigger_token': {'key': 'properties.updateTriggerToken', 'type': 'str'}, + 'log_artifact': {'key': 'properties.logArtifact', 'type': 'ImageDescriptor'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'is_archive_enabled': {'key': 'properties.isArchiveEnabled', 'type': 'bool'}, } @@ -2700,6 +2722,7 @@ def __init__(self, **kwargs): self.custom_registries = kwargs.get('custom_registries', None) self.run_error_message = None self.update_trigger_token = kwargs.get('update_trigger_token', None) + self.log_artifact = None self.provisioning_state = kwargs.get('provisioning_state', None) self.is_archive_enabled = kwargs.get('is_archive_enabled', False) @@ -3382,8 +3405,8 @@ class Task(Resource): 'Disabled', 'Enabled' :type status: str or ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TaskStatus - :param platform: Required. The platform properties against which the run - has to happen. + :param platform: The platform properties against which the run has to + happen. :type platform: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.PlatformProperties :param agent_configuration: The machine configuration of the run agent. @@ -3393,7 +3416,7 @@ class Task(Resource): :type agent_pool_name: str :param timeout: Run timeout in seconds. Default value: 3600 . :type timeout: int - :param step: Required. The properties of a task step. + :param step: The properties of a task step. :type step: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TaskStepProperties :param trigger: The properties that describe all triggers for the task. @@ -3403,6 +3426,12 @@ class Task(Resource): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str + :param is_system_task: The value of this property indicates whether the + task resource is system task or not. Default value: False . + :type is_system_task: bool """ _validation = { @@ -3412,9 +3441,7 @@ class Task(Resource): 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, - 'platform': {'required': True}, 'timeout': {'maximum': 28800, 'minimum': 300}, - 'step': {'required': True}, } _attribute_map = { @@ -3434,6 +3461,8 @@ class Task(Resource): 'step': {'key': 'properties.step', 'type': 'TaskStepProperties'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerProperties'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, + 'is_system_task': {'key': 'properties.isSystemTask', 'type': 'bool'}, } def __init__(self, **kwargs): @@ -3449,28 +3478,23 @@ def __init__(self, **kwargs): self.step = kwargs.get('step', None) self.trigger = kwargs.get('trigger', None) self.credentials = kwargs.get('credentials', None) + self.log_template = kwargs.get('log_template', None) + self.is_system_task = kwargs.get('is_system_task', False) -class TaskRun(Resource): +class TaskRun(ProxyResource): """The task run that has the ARM resource and properties. The task run will have the information of request and result of a run. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: Required. The location of the resource. This cannot be - changed after the resource is created. - :type location: str - :param tags: The tags of the resource. - :type tags: dict[str, str] :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties @@ -3488,13 +3512,14 @@ class TaskRun(Resource): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -3503,13 +3528,12 @@ class TaskRun(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'run_result': {'key': 'properties.runResult', 'type': 'Run'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, } def __init__(self, **kwargs): @@ -3519,6 +3543,7 @@ def __init__(self, **kwargs): self.run_request = kwargs.get('run_request', None) self.run_result = None self.force_update_tag = kwargs.get('force_update_tag', None) + self.location = kwargs.get('location', None) class TaskRunRequest(RunRequest): @@ -3531,6 +3556,9 @@ class TaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_id: Required. The resource ID of task against which run has to @@ -3550,6 +3578,7 @@ class TaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_id': {'key': 'taskId', 'type': 'str'}, 'override_task_step_properties': {'key': 'overrideTaskStepProperties', 'type': 'OverrideTaskStepProperties'}, @@ -3574,6 +3603,8 @@ class TaskRunUpdateParameters(Model): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -3582,6 +3613,7 @@ class TaskRunUpdateParameters(Model): 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } @@ -3590,6 +3622,7 @@ def __init__(self, **kwargs): self.identity = kwargs.get('identity', None) self.run_request = kwargs.get('run_request', None) self.force_update_tag = kwargs.get('force_update_tag', None) + self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) @@ -3624,6 +3657,9 @@ class TaskUpdateParameters(Model): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -3638,6 +3674,7 @@ class TaskUpdateParameters(Model): 'step': {'key': 'properties.step', 'type': 'TaskStepUpdateParameters'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerUpdateParameters'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } @@ -3652,6 +3689,7 @@ def __init__(self, **kwargs): self.step = kwargs.get('step', None) self.trigger = kwargs.get('trigger', None) self.credentials = kwargs.get('credentials', None) + self.log_template = kwargs.get('log_template', None) self.tags = kwargs.get('tags', None) diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py index 57dc43d1ca9c..a263211ab49e 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py @@ -571,6 +571,9 @@ class RunRequest(Model): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str """ @@ -582,6 +585,7 @@ class RunRequest(Model): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -589,10 +593,11 @@ class RunRequest(Model): 'type': {'DockerBuildRequest': 'DockerBuildRequest', 'FileTaskRunRequest': 'FileTaskRunRequest', 'TaskRunRequest': 'TaskRunRequest', 'EncodedTaskRunRequest': 'EncodedTaskRunRequest'} } - def __init__(self, *, is_archive_enabled: bool=False, agent_pool_name: str=None, **kwargs) -> None: + def __init__(self, *, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, **kwargs) -> None: super(RunRequest, self).__init__(**kwargs) self.is_archive_enabled = is_archive_enabled self.agent_pool_name = agent_pool_name + self.log_template = log_template self.type = None @@ -606,6 +611,9 @@ class DockerBuildRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -656,6 +664,7 @@ class DockerBuildRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, @@ -670,8 +679,8 @@ class DockerBuildRequest(RunRequest): 'credentials': {'key': 'credentials', 'type': 'Credentials'}, } - def __init__(self, *, docker_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, image_names=None, is_push_enabled: bool=True, no_cache: bool=False, target: str=None, arguments=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: - super(DockerBuildRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, docker_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, image_names=None, is_push_enabled: bool=True, no_cache: bool=False, target: str=None, arguments=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: + super(DockerBuildRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.image_names = image_names self.is_push_enabled = is_push_enabled self.no_cache = no_cache @@ -913,6 +922,9 @@ class EncodedTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Required. Base64 encoded value of the @@ -955,6 +967,7 @@ class EncodedTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, @@ -966,8 +979,8 @@ class EncodedTaskRunRequest(RunRequest): 'credentials': {'key': 'credentials', 'type': 'Credentials'}, } - def __init__(self, *, encoded_task_content: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, encoded_values_content: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: - super(EncodedTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, encoded_task_content: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, encoded_values_content: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: + super(EncodedTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.encoded_task_content = encoded_task_content self.encoded_values_content = encoded_values_content self.values = values @@ -1310,6 +1323,9 @@ class FileTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: Required. The template/definition file path @@ -1352,6 +1368,7 @@ class FileTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, @@ -1363,8 +1380,8 @@ class FileTaskRunRequest(RunRequest): 'credentials': {'key': 'credentials', 'type': 'Credentials'}, } - def __init__(self, *, task_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, values_file_path: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: - super(FileTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, task_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, values_file_path: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: + super(FileTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.task_file_path = task_file_path self.values_file_path = values_file_path self.values = values @@ -2635,6 +2652,9 @@ class Run(ProxyResource): :vartype run_error_message: str :param update_trigger_token: The update trigger token passed for the Run. :type update_trigger_token: str + :ivar log_artifact: The image description for the log artifact. + :vartype log_artifact: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.ImageDescriptor :param provisioning_state: The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -2650,6 +2670,7 @@ class Run(ProxyResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'run_error_message': {'readonly': True}, + 'log_artifact': {'readonly': True}, } _attribute_map = { @@ -2675,6 +2696,7 @@ class Run(ProxyResource): 'custom_registries': {'key': 'properties.customRegistries', 'type': '[str]'}, 'run_error_message': {'key': 'properties.runErrorMessage', 'type': 'str'}, 'update_trigger_token': {'key': 'properties.updateTriggerToken', 'type': 'str'}, + 'log_artifact': {'key': 'properties.logArtifact', 'type': 'ImageDescriptor'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'is_archive_enabled': {'key': 'properties.isArchiveEnabled', 'type': 'bool'}, } @@ -2700,6 +2722,7 @@ def __init__(self, *, run_id: str=None, status=None, last_updated_time=None, run self.custom_registries = custom_registries self.run_error_message = None self.update_trigger_token = update_trigger_token + self.log_artifact = None self.provisioning_state = provisioning_state self.is_archive_enabled = is_archive_enabled @@ -3382,8 +3405,8 @@ class Task(Resource): 'Disabled', 'Enabled' :type status: str or ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TaskStatus - :param platform: Required. The platform properties against which the run - has to happen. + :param platform: The platform properties against which the run has to + happen. :type platform: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.PlatformProperties :param agent_configuration: The machine configuration of the run agent. @@ -3393,7 +3416,7 @@ class Task(Resource): :type agent_pool_name: str :param timeout: Run timeout in seconds. Default value: 3600 . :type timeout: int - :param step: Required. The properties of a task step. + :param step: The properties of a task step. :type step: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.TaskStepProperties :param trigger: The properties that describe all triggers for the task. @@ -3403,6 +3426,12 @@ class Task(Resource): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str + :param is_system_task: The value of this property indicates whether the + task resource is system task or not. Default value: False . + :type is_system_task: bool """ _validation = { @@ -3412,9 +3441,7 @@ class Task(Resource): 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, - 'platform': {'required': True}, 'timeout': {'maximum': 28800, 'minimum': 300}, - 'step': {'required': True}, } _attribute_map = { @@ -3434,9 +3461,11 @@ class Task(Resource): 'step': {'key': 'properties.step', 'type': 'TaskStepProperties'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerProperties'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, + 'is_system_task': {'key': 'properties.isSystemTask', 'type': 'bool'}, } - def __init__(self, *, location: str, platform, step, tags=None, identity=None, status=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=3600, trigger=None, credentials=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, identity=None, status=None, platform=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=3600, step=None, trigger=None, credentials=None, log_template: str=None, is_system_task: bool=False, **kwargs) -> None: super(Task, self).__init__(location=location, tags=tags, **kwargs) self.identity = identity self.provisioning_state = None @@ -3449,28 +3478,23 @@ def __init__(self, *, location: str, platform, step, tags=None, identity=None, s self.step = step self.trigger = trigger self.credentials = credentials + self.log_template = log_template + self.is_system_task = is_system_task -class TaskRun(Resource): +class TaskRun(ProxyResource): """The task run that has the ARM resource and properties. The task run will have the information of request and result of a run. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: Required. The location of the resource. This cannot be - changed after the resource is created. - :type location: str - :param tags: The tags of the resource. - :type tags: dict[str, str] :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties @@ -3488,13 +3512,14 @@ class TaskRun(Resource): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -3503,22 +3528,22 @@ class TaskRun(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'run_result': {'key': 'properties.runResult', 'type': 'Run'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, } - def __init__(self, *, location: str, tags=None, identity=None, run_request=None, force_update_tag: str=None, **kwargs) -> None: - super(TaskRun, self).__init__(location=location, tags=tags, **kwargs) + def __init__(self, *, identity=None, run_request=None, force_update_tag: str=None, location: str=None, **kwargs) -> None: + super(TaskRun, self).__init__(**kwargs) self.identity = identity self.provisioning_state = None self.run_request = run_request self.run_result = None self.force_update_tag = force_update_tag + self.location = location class TaskRunRequest(RunRequest): @@ -3531,6 +3556,9 @@ class TaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_id: Required. The resource ID of task against which run has to @@ -3550,13 +3578,14 @@ class TaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_id': {'key': 'taskId', 'type': 'str'}, 'override_task_step_properties': {'key': 'overrideTaskStepProperties', 'type': 'OverrideTaskStepProperties'}, } - def __init__(self, *, task_id: str, is_archive_enabled: bool=False, agent_pool_name: str=None, override_task_step_properties=None, **kwargs) -> None: - super(TaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, task_id: str, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, override_task_step_properties=None, **kwargs) -> None: + super(TaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.task_id = task_id self.override_task_step_properties = override_task_step_properties self.type = 'TaskRunRequest' @@ -3574,6 +3603,8 @@ class TaskRunUpdateParameters(Model): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -3582,14 +3613,16 @@ class TaskRunUpdateParameters(Model): 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, identity=None, run_request=None, force_update_tag: str=None, tags=None, **kwargs) -> None: + def __init__(self, *, identity=None, run_request=None, force_update_tag: str=None, location: str=None, tags=None, **kwargs) -> None: super(TaskRunUpdateParameters, self).__init__(**kwargs) self.identity = identity self.run_request = run_request self.force_update_tag = force_update_tag + self.location = location self.tags = tags @@ -3624,6 +3657,9 @@ class TaskUpdateParameters(Model): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -3638,10 +3674,11 @@ class TaskUpdateParameters(Model): 'step': {'key': 'properties.step', 'type': 'TaskStepUpdateParameters'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerUpdateParameters'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, identity=None, status=None, platform=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=None, step=None, trigger=None, credentials=None, tags=None, **kwargs) -> None: + def __init__(self, *, identity=None, status=None, platform=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=None, step=None, trigger=None, credentials=None, log_template: str=None, tags=None, **kwargs) -> None: super(TaskUpdateParameters, self).__init__(**kwargs) self.identity = identity self.status = status @@ -3652,6 +3689,7 @@ def __init__(self, *, identity=None, status=None, platform=None, agent_configura self.step = step self.trigger = trigger self.credentials = credentials + self.log_template = log_template self.tags = tags diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/operations/_task_runs_operations.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/operations/_task_runs_operations.py index 599203feaede..5d59c90f8e91 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/operations/_task_runs_operations.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/operations/_task_runs_operations.py @@ -49,7 +49,7 @@ def get( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The run request name. + :param task_run_name: The name of the task run. :type task_run_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -114,7 +114,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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -166,7 +166,7 @@ def create( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The name of task run. + :param task_run_name: The name of the task run. :type task_run_name: str :param task_run: The parameters of a run that needs to scheduled. :type task_run: @@ -222,7 +222,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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -259,7 +259,7 @@ def delete( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The task run name. + :param task_run_name: The name of the task run. :type task_run_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -305,7 +305,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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -356,7 +356,7 @@ def update( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The task run name. + :param task_run_name: The name of the task run. :type task_run_name: str :param update_parameters: The parameters for updating a task run. :type update_parameters: @@ -413,7 +413,7 @@ def get_details( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The run request name. + :param task_run_name: The name of the task run. :type task_run_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -433,7 +433,7 @@ def get_details( '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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py index 9762b19b0e44..c36414f82589 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py @@ -571,6 +571,9 @@ class RunRequest(Model): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str """ @@ -582,6 +585,7 @@ class RunRequest(Model): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -593,6 +597,7 @@ def __init__(self, **kwargs): super(RunRequest, self).__init__(**kwargs) self.is_archive_enabled = kwargs.get('is_archive_enabled', False) self.agent_pool_name = kwargs.get('agent_pool_name', None) + self.log_template = kwargs.get('log_template', None) self.type = None @@ -606,6 +611,9 @@ class DockerBuildRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -656,6 +664,7 @@ class DockerBuildRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, @@ -913,6 +922,9 @@ class EncodedTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Required. Base64 encoded value of the @@ -955,6 +967,7 @@ class EncodedTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, @@ -1371,6 +1384,8 @@ class ExportPipeline(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str + :param location: The location of the export pipeline. + :type location: str :param identity: The identity of the export pipeline. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -1399,6 +1414,7 @@ class ExportPipeline(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'target': {'key': 'properties.target', 'type': 'ExportPipelineTargetProperties'}, 'options': {'key': 'properties.options', 'type': '[str]'}, @@ -1407,6 +1423,7 @@ class ExportPipeline(ProxyResource): def __init__(self, **kwargs): super(ExportPipeline, self).__init__(**kwargs) + self.location = kwargs.get('location', None) self.identity = kwargs.get('identity', None) self.target = kwargs.get('target', None) self.options = kwargs.get('options', None) @@ -1458,6 +1475,9 @@ class FileTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: Required. The template/definition file path @@ -1500,6 +1520,7 @@ class FileTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, @@ -1820,6 +1841,8 @@ class ImportPipeline(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str + :param location: The location of the import pipeline. + :type location: str :param identity: The identity of the import pipeline. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -1852,6 +1875,7 @@ class ImportPipeline(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'source': {'key': 'properties.source', 'type': 'ImportPipelineSourceProperties'}, 'trigger': {'key': 'properties.trigger', 'type': 'PipelineTriggerProperties'}, @@ -1861,6 +1885,7 @@ class ImportPipeline(ProxyResource): def __init__(self, **kwargs): super(ImportPipeline, self).__init__(**kwargs) + self.location = kwargs.get('location', None) self.identity = kwargs.get('identity', None) self.source = kwargs.get('source', None) self.trigger = kwargs.get('trigger', None) @@ -3381,6 +3406,9 @@ class Run(ProxyResource): :vartype run_error_message: str :param update_trigger_token: The update trigger token passed for the Run. :type update_trigger_token: str + :ivar log_artifact: The image description for the log artifact. + :vartype log_artifact: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.ImageDescriptor :param provisioning_state: The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -3396,6 +3424,7 @@ class Run(ProxyResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'run_error_message': {'readonly': True}, + 'log_artifact': {'readonly': True}, } _attribute_map = { @@ -3421,6 +3450,7 @@ class Run(ProxyResource): 'custom_registries': {'key': 'properties.customRegistries', 'type': '[str]'}, 'run_error_message': {'key': 'properties.runErrorMessage', 'type': 'str'}, 'update_trigger_token': {'key': 'properties.updateTriggerToken', 'type': 'str'}, + 'log_artifact': {'key': 'properties.logArtifact', 'type': 'ImageDescriptor'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'is_archive_enabled': {'key': 'properties.isArchiveEnabled', 'type': 'bool'}, } @@ -3446,6 +3476,7 @@ def __init__(self, **kwargs): self.custom_registries = kwargs.get('custom_registries', None) self.run_error_message = None self.update_trigger_token = kwargs.get('update_trigger_token', None) + self.log_artifact = None self.provisioning_state = kwargs.get('provisioning_state', None) self.is_archive_enabled = kwargs.get('is_archive_enabled', False) @@ -4128,8 +4159,8 @@ class Task(Resource): 'Disabled', 'Enabled' :type status: str or ~azure.mgmt.containerregistry.v2019_12_01_preview.models.TaskStatus - :param platform: Required. The platform properties against which the run - has to happen. + :param platform: The platform properties against which the run has to + happen. :type platform: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.PlatformProperties :param agent_configuration: The machine configuration of the run agent. @@ -4139,7 +4170,7 @@ class Task(Resource): :type agent_pool_name: str :param timeout: Run timeout in seconds. Default value: 3600 . :type timeout: int - :param step: Required. The properties of a task step. + :param step: The properties of a task step. :type step: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.TaskStepProperties :param trigger: The properties that describe all triggers for the task. @@ -4149,6 +4180,12 @@ class Task(Resource): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str + :param is_system_task: The value of this property indicates whether the + task resource is system task or not. Default value: False . + :type is_system_task: bool """ _validation = { @@ -4158,9 +4195,7 @@ class Task(Resource): 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, - 'platform': {'required': True}, 'timeout': {'maximum': 28800, 'minimum': 300}, - 'step': {'required': True}, } _attribute_map = { @@ -4180,6 +4215,8 @@ class Task(Resource): 'step': {'key': 'properties.step', 'type': 'TaskStepProperties'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerProperties'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, + 'is_system_task': {'key': 'properties.isSystemTask', 'type': 'bool'}, } def __init__(self, **kwargs): @@ -4195,28 +4232,23 @@ def __init__(self, **kwargs): self.step = kwargs.get('step', None) self.trigger = kwargs.get('trigger', None) self.credentials = kwargs.get('credentials', None) + self.log_template = kwargs.get('log_template', None) + self.is_system_task = kwargs.get('is_system_task', False) -class TaskRun(Resource): +class TaskRun(ProxyResource): """The task run that has the ARM resource and properties. The task run will have the information of request and result of a run. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: Required. The location of the resource. This cannot be - changed after the resource is created. - :type location: str - :param tags: The tags of the resource. - :type tags: dict[str, str] :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -4234,13 +4266,14 @@ class TaskRun(Resource): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -4249,13 +4282,12 @@ class TaskRun(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'run_result': {'key': 'properties.runResult', 'type': 'Run'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, } def __init__(self, **kwargs): @@ -4265,6 +4297,7 @@ def __init__(self, **kwargs): self.run_request = kwargs.get('run_request', None) self.run_result = None self.force_update_tag = kwargs.get('force_update_tag', None) + self.location = kwargs.get('location', None) class TaskRunRequest(RunRequest): @@ -4277,6 +4310,9 @@ class TaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_id: Required. The resource ID of task against which run has to @@ -4296,6 +4332,7 @@ class TaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_id': {'key': 'taskId', 'type': 'str'}, 'override_task_step_properties': {'key': 'overrideTaskStepProperties', 'type': 'OverrideTaskStepProperties'}, @@ -4320,6 +4357,8 @@ class TaskRunUpdateParameters(Model): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -4328,6 +4367,7 @@ class TaskRunUpdateParameters(Model): 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } @@ -4336,6 +4376,7 @@ def __init__(self, **kwargs): self.identity = kwargs.get('identity', None) self.run_request = kwargs.get('run_request', None) self.force_update_tag = kwargs.get('force_update_tag', None) + self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) @@ -4370,6 +4411,9 @@ class TaskUpdateParameters(Model): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -4384,6 +4428,7 @@ class TaskUpdateParameters(Model): 'step': {'key': 'properties.step', 'type': 'TaskStepUpdateParameters'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerUpdateParameters'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } @@ -4398,6 +4443,7 @@ def __init__(self, **kwargs): self.step = kwargs.get('step', None) self.trigger = kwargs.get('trigger', None) self.credentials = kwargs.get('credentials', None) + self.log_template = kwargs.get('log_template', None) self.tags = kwargs.get('tags', None) diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py index 683cf64dffa6..8361615bf7fb 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py @@ -571,6 +571,9 @@ class RunRequest(Model): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str """ @@ -582,6 +585,7 @@ class RunRequest(Model): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } @@ -589,10 +593,11 @@ class RunRequest(Model): 'type': {'DockerBuildRequest': 'DockerBuildRequest', 'FileTaskRunRequest': 'FileTaskRunRequest', 'TaskRunRequest': 'TaskRunRequest', 'EncodedTaskRunRequest': 'EncodedTaskRunRequest'} } - def __init__(self, *, is_archive_enabled: bool=False, agent_pool_name: str=None, **kwargs) -> None: + def __init__(self, *, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, **kwargs) -> None: super(RunRequest, self).__init__(**kwargs) self.is_archive_enabled = is_archive_enabled self.agent_pool_name = agent_pool_name + self.log_template = log_template self.type = None @@ -606,6 +611,9 @@ class DockerBuildRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param image_names: The fully qualified image names including the @@ -656,6 +664,7 @@ class DockerBuildRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'image_names': {'key': 'imageNames', 'type': '[str]'}, 'is_push_enabled': {'key': 'isPushEnabled', 'type': 'bool'}, @@ -670,8 +679,8 @@ class DockerBuildRequest(RunRequest): 'credentials': {'key': 'credentials', 'type': 'Credentials'}, } - def __init__(self, *, docker_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, image_names=None, is_push_enabled: bool=True, no_cache: bool=False, target: str=None, arguments=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: - super(DockerBuildRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, docker_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, image_names=None, is_push_enabled: bool=True, no_cache: bool=False, target: str=None, arguments=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: + super(DockerBuildRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.image_names = image_names self.is_push_enabled = is_push_enabled self.no_cache = no_cache @@ -913,6 +922,9 @@ class EncodedTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param encoded_task_content: Required. Base64 encoded value of the @@ -955,6 +967,7 @@ class EncodedTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'encoded_task_content': {'key': 'encodedTaskContent', 'type': 'str'}, 'encoded_values_content': {'key': 'encodedValuesContent', 'type': 'str'}, @@ -966,8 +979,8 @@ class EncodedTaskRunRequest(RunRequest): 'credentials': {'key': 'credentials', 'type': 'Credentials'}, } - def __init__(self, *, encoded_task_content: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, encoded_values_content: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: - super(EncodedTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, encoded_task_content: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, encoded_values_content: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: + super(EncodedTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.encoded_task_content = encoded_task_content self.encoded_values_content = encoded_values_content self.values = values @@ -1371,6 +1384,8 @@ class ExportPipeline(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str + :param location: The location of the export pipeline. + :type location: str :param identity: The identity of the export pipeline. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -1399,14 +1414,16 @@ class ExportPipeline(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'target': {'key': 'properties.target', 'type': 'ExportPipelineTargetProperties'}, 'options': {'key': 'properties.options', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, target, identity=None, options=None, **kwargs) -> None: + def __init__(self, *, target, location: str=None, identity=None, options=None, **kwargs) -> None: super(ExportPipeline, self).__init__(**kwargs) + self.location = location self.identity = identity self.target = target self.options = options @@ -1458,6 +1475,9 @@ class FileTaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_file_path: Required. The template/definition file path @@ -1500,6 +1520,7 @@ class FileTaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_file_path': {'key': 'taskFilePath', 'type': 'str'}, 'values_file_path': {'key': 'valuesFilePath', 'type': 'str'}, @@ -1511,8 +1532,8 @@ class FileTaskRunRequest(RunRequest): 'credentials': {'key': 'credentials', 'type': 'Credentials'}, } - def __init__(self, *, task_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, values_file_path: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: - super(FileTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, task_file_path: str, platform, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, values_file_path: str=None, values=None, timeout: int=3600, agent_configuration=None, source_location: str=None, credentials=None, **kwargs) -> None: + super(FileTaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.task_file_path = task_file_path self.values_file_path = values_file_path self.values = values @@ -1820,6 +1841,8 @@ class ImportPipeline(ProxyResource): :vartype name: str :ivar type: The type of the resource. :vartype type: str + :param location: The location of the import pipeline. + :type location: str :param identity: The identity of the import pipeline. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -1852,6 +1875,7 @@ class ImportPipeline(ProxyResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'source': {'key': 'properties.source', 'type': 'ImportPipelineSourceProperties'}, 'trigger': {'key': 'properties.trigger', 'type': 'PipelineTriggerProperties'}, @@ -1859,8 +1883,9 @@ class ImportPipeline(ProxyResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, source, identity=None, trigger=None, options=None, **kwargs) -> None: + def __init__(self, *, source, location: str=None, identity=None, trigger=None, options=None, **kwargs) -> None: super(ImportPipeline, self).__init__(**kwargs) + self.location = location self.identity = identity self.source = source self.trigger = trigger @@ -3381,6 +3406,9 @@ class Run(ProxyResource): :vartype run_error_message: str :param update_trigger_token: The update trigger token passed for the Run. :type update_trigger_token: str + :ivar log_artifact: The image description for the log artifact. + :vartype log_artifact: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.ImageDescriptor :param provisioning_state: The provisioning state of a run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -3396,6 +3424,7 @@ class Run(ProxyResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'run_error_message': {'readonly': True}, + 'log_artifact': {'readonly': True}, } _attribute_map = { @@ -3421,6 +3450,7 @@ class Run(ProxyResource): 'custom_registries': {'key': 'properties.customRegistries', 'type': '[str]'}, 'run_error_message': {'key': 'properties.runErrorMessage', 'type': 'str'}, 'update_trigger_token': {'key': 'properties.updateTriggerToken', 'type': 'str'}, + 'log_artifact': {'key': 'properties.logArtifact', 'type': 'ImageDescriptor'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'is_archive_enabled': {'key': 'properties.isArchiveEnabled', 'type': 'bool'}, } @@ -3446,6 +3476,7 @@ def __init__(self, *, run_id: str=None, status=None, last_updated_time=None, run self.custom_registries = custom_registries self.run_error_message = None self.update_trigger_token = update_trigger_token + self.log_artifact = None self.provisioning_state = provisioning_state self.is_archive_enabled = is_archive_enabled @@ -4128,8 +4159,8 @@ class Task(Resource): 'Disabled', 'Enabled' :type status: str or ~azure.mgmt.containerregistry.v2019_12_01_preview.models.TaskStatus - :param platform: Required. The platform properties against which the run - has to happen. + :param platform: The platform properties against which the run has to + happen. :type platform: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.PlatformProperties :param agent_configuration: The machine configuration of the run agent. @@ -4139,7 +4170,7 @@ class Task(Resource): :type agent_pool_name: str :param timeout: Run timeout in seconds. Default value: 3600 . :type timeout: int - :param step: Required. The properties of a task step. + :param step: The properties of a task step. :type step: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.TaskStepProperties :param trigger: The properties that describe all triggers for the task. @@ -4149,6 +4180,12 @@ class Task(Resource): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str + :param is_system_task: The value of this property indicates whether the + task resource is system task or not. Default value: False . + :type is_system_task: bool """ _validation = { @@ -4158,9 +4195,7 @@ class Task(Resource): 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, - 'platform': {'required': True}, 'timeout': {'maximum': 28800, 'minimum': 300}, - 'step': {'required': True}, } _attribute_map = { @@ -4180,9 +4215,11 @@ class Task(Resource): 'step': {'key': 'properties.step', 'type': 'TaskStepProperties'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerProperties'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, + 'is_system_task': {'key': 'properties.isSystemTask', 'type': 'bool'}, } - def __init__(self, *, location: str, platform, step, tags=None, identity=None, status=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=3600, trigger=None, credentials=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, identity=None, status=None, platform=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=3600, step=None, trigger=None, credentials=None, log_template: str=None, is_system_task: bool=False, **kwargs) -> None: super(Task, self).__init__(location=location, tags=tags, **kwargs) self.identity = identity self.provisioning_state = None @@ -4195,28 +4232,23 @@ def __init__(self, *, location: str, platform, step, tags=None, identity=None, s self.step = step self.trigger = trigger self.credentials = credentials + self.log_template = log_template + self.is_system_task = is_system_task -class TaskRun(Resource): +class TaskRun(ProxyResource): """The task run that has the ARM resource and properties. The task run will have the information of request and result of a run. Variables are only populated by the server, and will be ignored when sending a request. - All required parameters must be populated in order to send to Azure. - :ivar id: The resource ID. :vartype id: str :ivar name: The name of the resource. :vartype name: str :ivar type: The type of the resource. :vartype type: str - :param location: Required. The location of the resource. This cannot be - changed after the resource is created. - :type location: str - :param tags: The tags of the resource. - :type tags: dict[str, str] :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -4234,13 +4266,14 @@ class TaskRun(Resource): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str """ _validation = { 'id': {'readonly': True}, 'name': {'readonly': True}, 'type': {'readonly': True}, - 'location': {'required': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -4249,22 +4282,22 @@ class TaskRun(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, - 'location': {'key': 'location', 'type': 'str'}, - 'tags': {'key': 'tags', 'type': '{str}'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'run_result': {'key': 'properties.runResult', 'type': 'Run'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, } - def __init__(self, *, location: str, tags=None, identity=None, run_request=None, force_update_tag: str=None, **kwargs) -> None: - super(TaskRun, self).__init__(location=location, tags=tags, **kwargs) + def __init__(self, *, identity=None, run_request=None, force_update_tag: str=None, location: str=None, **kwargs) -> None: + super(TaskRun, self).__init__(**kwargs) self.identity = identity self.provisioning_state = None self.run_request = run_request self.run_result = None self.force_update_tag = force_update_tag + self.location = location class TaskRunRequest(RunRequest): @@ -4277,6 +4310,9 @@ class TaskRunRequest(RunRequest): :type is_archive_enabled: bool :param agent_pool_name: The dedicated agent pool for the run. :type agent_pool_name: str + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param type: Required. Constant filled by server. :type type: str :param task_id: Required. The resource ID of task against which run has to @@ -4296,13 +4332,14 @@ class TaskRunRequest(RunRequest): _attribute_map = { 'is_archive_enabled': {'key': 'isArchiveEnabled', 'type': 'bool'}, 'agent_pool_name': {'key': 'agentPoolName', 'type': 'str'}, + 'log_template': {'key': 'logTemplate', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'task_id': {'key': 'taskId', 'type': 'str'}, 'override_task_step_properties': {'key': 'overrideTaskStepProperties', 'type': 'OverrideTaskStepProperties'}, } - def __init__(self, *, task_id: str, is_archive_enabled: bool=False, agent_pool_name: str=None, override_task_step_properties=None, **kwargs) -> None: - super(TaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, **kwargs) + def __init__(self, *, task_id: str, is_archive_enabled: bool=False, agent_pool_name: str=None, log_template: str=None, override_task_step_properties=None, **kwargs) -> None: + super(TaskRunRequest, self).__init__(is_archive_enabled=is_archive_enabled, agent_pool_name=agent_pool_name, log_template=log_template, **kwargs) self.task_id = task_id self.override_task_step_properties = override_task_step_properties self.type = 'TaskRunRequest' @@ -4320,6 +4357,8 @@ class TaskRunUpdateParameters(Model): :param force_update_tag: How the run should be forced to rerun even if the run request configuration has not changed :type force_update_tag: str + :param location: The location of the resource + :type location: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -4328,14 +4367,16 @@ class TaskRunUpdateParameters(Model): 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, 'force_update_tag': {'key': 'properties.forceUpdateTag', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, identity=None, run_request=None, force_update_tag: str=None, tags=None, **kwargs) -> None: + def __init__(self, *, identity=None, run_request=None, force_update_tag: str=None, location: str=None, tags=None, **kwargs) -> None: super(TaskRunUpdateParameters, self).__init__(**kwargs) self.identity = identity self.run_request = run_request self.force_update_tag = force_update_tag + self.location = location self.tags = tags @@ -4370,6 +4411,9 @@ class TaskUpdateParameters(Model): that will be used when this run is invoked. :type credentials: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Credentials + :param log_template: The template that describes the repository and tag + information for run log artifact. + :type log_template: str :param tags: The ARM resource tags. :type tags: dict[str, str] """ @@ -4384,10 +4428,11 @@ class TaskUpdateParameters(Model): 'step': {'key': 'properties.step', 'type': 'TaskStepUpdateParameters'}, 'trigger': {'key': 'properties.trigger', 'type': 'TriggerUpdateParameters'}, 'credentials': {'key': 'properties.credentials', 'type': 'Credentials'}, + 'log_template': {'key': 'properties.logTemplate', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, identity=None, status=None, platform=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=None, step=None, trigger=None, credentials=None, tags=None, **kwargs) -> None: + def __init__(self, *, identity=None, status=None, platform=None, agent_configuration=None, agent_pool_name: str=None, timeout: int=None, step=None, trigger=None, credentials=None, log_template: str=None, tags=None, **kwargs) -> None: super(TaskUpdateParameters, self).__init__(**kwargs) self.identity = identity self.status = status @@ -4398,6 +4443,7 @@ def __init__(self, *, identity=None, status=None, platform=None, agent_configura self.step = step self.trigger = trigger self.credentials = credentials + self.log_template = log_template self.tags = tags diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_task_runs_operations.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_task_runs_operations.py index 40a7b7fd9d7e..1039d6e5f6df 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_task_runs_operations.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/operations/_task_runs_operations.py @@ -49,7 +49,7 @@ def get( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The run request name. + :param task_run_name: The name of the task run. :type task_run_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -114,7 +114,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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -166,7 +166,7 @@ def create( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The name of task run. + :param task_run_name: The name of the task run. :type task_run_name: str :param task_run: The parameters of a run that needs to scheduled. :type task_run: @@ -222,7 +222,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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -259,7 +259,7 @@ def delete( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The task run name. + :param task_run_name: The name of the task run. :type task_run_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -305,7 +305,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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) @@ -356,7 +356,7 @@ def update( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The task run name. + :param task_run_name: The name of the task run. :type task_run_name: str :param update_parameters: The parameters for updating a task run. :type update_parameters: @@ -413,7 +413,7 @@ def get_details( :type resource_group_name: str :param registry_name: The name of the container registry. :type registry_name: str - :param task_run_name: The run request name. + :param task_run_name: The name of the task run. :type task_run_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -433,7 +433,7 @@ def get_details( '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]*$'), - 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str') + 'taskRunName': self._serialize.url("task_run_name", task_run_name, 'str', max_length=50, min_length=5, pattern=r'^[a-zA-Z0-9-]*$') } url = self._client.format_url(url, **path_format_arguments) diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py index e93cdec3b770..76f1cee19872 100755 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0rc14" +VERSION = "3.0.0rc15" diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml index 1dca86c4bd4c..6d9e02458067 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_managed_registry.yaml @@ -13,8 +13,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:04 GMT + - Thu, 17 Sep 2020 06:16:46 GMT expires: - '-1' pragma: @@ -63,15 +63,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-09-17T06:16:53.9250223Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-09-17T06:16:55.9553416+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -80,7 +80,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:12 GMT + - Thu, 17 Sep 2020 06:16:56 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -110,15 +110,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries?api-version=2019-05-01 response: body: - string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}]}' + string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-09-17T06:16:53.9250223Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-09-17T06:16:55.9553416+00:00","status":"disabled"}}}}]}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:13 GMT + - Thu, 17 Sep 2020 06:16:57 GMT expires: - '-1' pragma: @@ -159,15 +159,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-09-17T06:16:53.9250223Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-09-17T06:16:55.9553416+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:15 GMT + - Thu, 17 Sep 2020 06:16:59 GMT expires: - '-1' pragma: @@ -192,7 +192,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -206,15 +206,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-05-15T13:01:10.7332924Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:11.6853282+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462","name":"pyacrfe331462","location":"westcentralus","tags":{"key":"value"},"properties":{"loginServer":"pyacrfe331462.azurecr.io","creationDate":"2020-09-17T06:16:53.9250223Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-09-17T06:16:55.9553416+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:15 GMT + - Thu, 17 Sep 2020 06:16:59 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462/listCredentials?api-version=2019-05-01 response: body: - string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"Yy98oDUrlgSMlx0OLvZSfXjnrAFZr2j/"},{"name":"password2","value":"5MLqhgRXiAdNYWSlsIC9Mt2lv+liVFqS"}]}' + string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"y+cFfDJSmO0pZ49/UM3nzpQIc0d482C/"},{"name":"password2","value":"6+83O3MMBU5chQ4WYyN6fjRB6A1sHp3g"}]}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:15 GMT + - Thu, 17 Sep 2020 06:16:59 GMT expires: - '-1' pragma: @@ -304,15 +304,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_managed_registryfe331462/providers/Microsoft.ContainerRegistry/registries/pyacrfe331462/regenerateCredential?api-version=2019-05-01 response: body: - string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"LNCAH1y+Yy=+DR8ohZNA2r9jIaj8Bewd"},{"name":"password2","value":"5MLqhgRXiAdNYWSlsIC9Mt2lv+liVFqS"}]}' + string: '{"username":"pyacrfe331462","passwords":[{"name":"password","value":"Pv//Fgd2ClcIs808uW5WOsJoq6IZs=qY"},{"name":"password2","value":"6+83O3MMBU5chQ4WYyN6fjRB6A1sHp3g"}]}' headers: cache-control: - no-cache @@ -321,7 +321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:16 GMT + - Thu, 17 Sep 2020 06:17:00 GMT expires: - '-1' pragma: @@ -351,8 +351,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -368,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:16 GMT + - Thu, 17 Sep 2020 06:17:00 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:01:19 GMT + - Thu, 17 Sep 2020 06:17:07 GMT expires: - '-1' pragma: diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml index a99c74192c26..ba82125275a9 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry.test_webhook.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac?api-version=2019-05-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac","name":"pyacr572410ac","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacr572410ac.azurecr.io","creationDate":"2020-05-15T13:01:38.89938Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-05-15T13:01:40.0369477+00:00","status":"disabled"}}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac","name":"pyacr572410ac","location":"westcentralus","tags":{},"properties":{"loginServer":"pyacr572410ac.azurecr.io","creationDate":"2020-09-17T06:17:22.7174763Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]},"policies":{"quarantinePolicy":{"status":"disabled"},"trustPolicy":{"type":"Notary","status":"disabled"},"retentionPolicy":{"days":7,"lastUpdatedTime":"2020-09-17T06:17:25.58977+00:00","status":"disabled"}}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:40 GMT + - Thu, 17 Sep 2020 06:17:26 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:44 GMT + - Thu, 17 Sep 2020 06:17:29 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -113,8 +113,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:45 GMT + - Thu, 17 Sep 2020 06:17:30 GMT expires: - '-1' pragma: @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PATCH @@ -180,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:46 GMT + - Thu, 17 Sep 2020 06:17:31 GMT expires: - '-1' pragma: @@ -196,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 200 message: OK @@ -210,8 +210,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -227,7 +227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:47 GMT + - Thu, 17 Sep 2020 06:17:32 GMT expires: - '-1' pragma: @@ -257,8 +257,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:47 GMT + - Thu, 17 Sep 2020 06:17:32 GMT expires: - '-1' pragma: @@ -306,15 +306,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_test_webhook572410ac/providers/Microsoft.ContainerRegistry/registries/pyacr572410ac/webhooks/pyacr572410ac/ping?api-version=2019-05-01 response: body: - string: '{"id":"4c5765ec-97e2-4a83-b372-2458c7359ea3"}' + string: '{"id":"3b556f7c-ec75-44a8-97d8-c73a9bc1aef9"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:01:48 GMT + - Thu, 17 Sep 2020 06:17:37 GMT expires: - '-1' pragma: @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:01:51 GMT + - Thu, 17 Sep 2020 06:17:41 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:01:53 GMT + - Thu, 17 Sep 2020 06:17:47 GMT expires: - '-1' pragma: diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml index 51d9b0565fdd..b58bac5fd3d9 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_build.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9","name":"pyacr86c515d9","location":"eastus","tags":{},"properties":{"loginServer":"pyacr86c515d9.azurecr.io","creationDate":"2020-05-15T13:02:15.7572981Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9","name":"pyacr86c515d9","location":"eastus","tags":{},"properties":{"loginServer":"pyacr86c515d9.azurecr.io","creationDate":"2020-09-17T06:18:02.0551788Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:18 GMT + - Thu, 17 Sep 2020 06:18:05 GMT expires: - '-1' pragma: @@ -63,24 +63,24 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/getBuildSourceUploadUrl?api-version=2018-02-01-preview response: body: - string: '{"uploadUrl":"https://eusmanaged197.blob.core.windows.net/e415c8caa0274615bd732500c4955192-bpreu1s7jv/source/202005150000/5cc3c360-b5a8-451e-86f2-dab7fe8b80c0.tar.gz?sv=2018-03-28&sr=b&sig=h%2FDZQ2Mied1qAnaEaEbGnJzzhbYZ%2B2S9rs7LBK2NftA%3D&se=2020-05-15T14%3A02%3A19Z&sp=cw","relativePath":"source/202005150000/5cc3c360-b5a8-451e-86f2-dab7fe8b80c0.tar.gz"}' + string: '{"uploadUrl":"https://eusmanaged193.blob.core.windows.net/c957eda7ad2a4a5491e687b2ae654dce-wfbrgfnf9s/source/202009170000/40eb3cfb-3374-44ef-b919-0ca1912b5c00.tar.gz?sv=2018-03-28&sr=b&sig=9cmE7280tZ1R2FTfXPHkX5Xa1ylmcETj5z2AFXdsgwA%3D&se=2020-09-17T07%3A18%3A07Z&sp=cw","relativePath":"source/202009170000/40eb3cfb-3374-44ef-b919-0ca1912b5c00.tar.gz"}' headers: cache-control: - no-cache content-length: - - '356' + - '352' content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:19 GMT + - Thu, 17 Sep 2020 06:18:06 GMT expires: - '-1' pragma: @@ -116,15 +116,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/queueBuild?api-version=2018-02-01-preview response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Queued","lastUpdatedTime":"2020-05-15T13:02:20+00:00","isArchiveEnabled":false,"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' + string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Queued","lastUpdatedTime":"2020-09-17T06:18:07+00:00","isArchiveEnabled":false,"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' headers: cache-control: - no-cache @@ -133,7 +133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:20 GMT + - Thu, 17 Sep 2020 06:18:07 GMT expires: - '-1' pragma: @@ -163,24 +163,24 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds?api-version=2018-02-01-preview response: body: - string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-15T13:02:20+00:00","buildType":"QuickBuild","createTime":"2020-05-15T13:02:20.2198019+00:00","startTime":"2020-05-15T13:02:20.5623313+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}]}' + string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Queued","lastUpdatedTime":"2020-09-17T06:18:08+00:00","buildType":"QuickBuild","createTime":"2020-09-17T06:18:07.9673256+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}]}' headers: cache-control: - no-cache content-length: - - '608' + - '559' content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:20 GMT + - Thu, 17 Sep 2020 06:18:07 GMT expires: - '-1' pragma: @@ -208,15 +208,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1?api-version=2018-02-01-preview response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-15T13:02:20+00:00","buildType":"QuickBuild","createTime":"2020-05-15T13:02:20.2198019+00:00","startTime":"2020-05-15T13:02:20.5623313+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' + string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-09-17T06:18:08+00:00","buildType":"QuickBuild","createTime":"2020-09-17T06:18:07.9673256+00:00","startTime":"2020-09-17T06:18:08.7474398+00:00","isArchiveEnabled":false,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' headers: cache-control: - no-cache @@ -225,7 +225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:21 GMT + - Thu, 17 Sep 2020 06:18:08 GMT expires: - '-1' pragma: @@ -257,15 +257,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1?api-version=2018-02-01-preview response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-05-15T13:02:21+00:00","buildType":"QuickBuild","createTime":"2020-05-15T13:02:20.2198019+00:00","startTime":"2020-05-15T13:02:20.5623313+00:00","isArchiveEnabled":true,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' + string: '{"type":"Microsoft.ContainerRegistry/registries/builds","properties":{"buildId":"aa1","status":"Running","lastUpdatedTime":"2020-09-17T06:18:09+00:00","buildType":"QuickBuild","createTime":"2020-09-17T06:18:07.9673256+00:00","startTime":"2020-09-17T06:18:08.7474398+00:00","isArchiveEnabled":true,"platform":{"osType":"Linux","cpu":2},"provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1","name":"aa1"}' headers: cache-control: - no-cache @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:21 GMT + - Thu, 17 Sep 2020 06:18:08 GMT expires: - '-1' pragma: @@ -306,15 +306,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_build86c515d9/providers/Microsoft.ContainerRegistry/registries/pyacr86c515d9/builds/aa1/getLogLink?api-version=2018-02-01-preview response: body: - string: '{"logLink":"https://eusmanaged197.blob.core.windows.net/e415c8caa0274615bd732500c4955192-bpreu1s7jv/logs/aa1/rawtext.log?sv=2018-03-28&sr=b&sig=5iBrDgcmqLcgRv3I9C3njWEhKNEHwOvDK9qqW1GYlsU%3D&se=2020-05-15T14%3A12%3A22Z&sp=r"}' + string: '{"logLink":"https://eusmanaged193.blob.core.windows.net/c957eda7ad2a4a5491e687b2ae654dce-wfbrgfnf9s/logs/aa1/rawtext.log?sv=2018-03-28&sr=b&sig=McHuTvyAufBa1G1yY3qu2SdPELVdaZFGd95YguIzkHw%3D&se=2020-09-17T07%3A28%3A09Z&sp=r"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:22 GMT + - Thu, 17 Sep 2020 06:18:09 GMT expires: - '-1' pragma: @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:02:22 GMT + - Thu, 17 Sep 2020 06:18:09 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:02:26 GMT + - Thu, 17 Sep 2020 06:18:15 GMT expires: - '-1' pragma: diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml index 46699b7f56f8..1847933dcb2b 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_managed_registry.yaml @@ -13,8 +13,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:42 GMT + - Thu, 17 Sep 2020 06:18:27 GMT expires: - '-1' pragma: @@ -63,15 +63,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-09-17T06:18:35.7488846Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -80,7 +80,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:54 GMT + - Thu, 17 Sep 2020 06:18:39 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -110,15 +110,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries?api-version=2017-10-01 response: body: - string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}]}' + string: '{"value":[{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-09-17T06:18:35.7488846Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}]}' headers: cache-control: - no-cache @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:55 GMT + - Thu, 17 Sep 2020 06:18:39 GMT expires: - '-1' pragma: @@ -159,15 +159,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-09-17T06:18:35.7488846Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -176,7 +176,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:57 GMT + - Thu, 17 Sep 2020 06:18:42 GMT expires: - '-1' pragma: @@ -192,7 +192,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -206,15 +206,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-05-15T13:02:52.1324792Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e","name":"pyacr916b1a6e","location":"eastus","tags":{"key":"value"},"properties":{"loginServer":"pyacr916b1a6e.azurecr.io","creationDate":"2020-09-17T06:18:35.7488846Z","provisioningState":"Succeeded","adminUserEnabled":true,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -223,7 +223,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:58 GMT + - Thu, 17 Sep 2020 06:18:43 GMT expires: - '-1' pragma: @@ -253,15 +253,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e/listCredentials?api-version=2017-10-01 response: body: - string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"f=NCA7vei5hh4gI8mcyBcQrj7b23yIQ7"},{"name":"password2","value":"aQMjUSD6CC1Zw+Atpww0oWUKNj8J5DXZ"}]}' + string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"msiYPv7fe8vNlAK1U=IgBGjwq+zfTKA3"},{"name":"password2","value":"GruEsJk3mWUvudOkR/AUNm64qXWx4wqD"}]}' headers: cache-control: - no-cache @@ -270,7 +270,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:59 GMT + - Thu, 17 Sep 2020 06:18:43 GMT expires: - '-1' pragma: @@ -304,15 +304,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_managed_registry916b1a6e/providers/Microsoft.ContainerRegistry/registries/pyacr916b1a6e/regenerateCredential?api-version=2017-10-01 response: body: - string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"NbRR4cnAnKNFn9d4TSVeXW2Qkkm15l=B"},{"name":"password2","value":"aQMjUSD6CC1Zw+Atpww0oWUKNj8J5DXZ"}]}' + string: '{"username":"pyacr916b1a6e","passwords":[{"name":"password","value":"p1PWLXuaEBlE=MJCHNeblAF+Di52Znpf"},{"name":"password2","value":"GruEsJk3mWUvudOkR/AUNm64qXWx4wqD"}]}' headers: cache-control: - no-cache @@ -321,7 +321,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:02:59 GMT + - Thu, 17 Sep 2020 06:18:44 GMT expires: - '-1' pragma: @@ -351,8 +351,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -368,7 +368,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:00 GMT + - Thu, 17 Sep 2020 06:18:44 GMT expires: - '-1' pragma: @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:03:03 GMT + - Thu, 17 Sep 2020 06:18:52 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 200 message: OK diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml index c4f6e29afffc..a9b2ada40341 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_replication.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-05-15T13:03:22.3983566Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-09-17T06:19:06.6927861Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:24 GMT + - Thu, 17 Sep 2020 06:19:10 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: OK @@ -65,18 +65,18 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Creating","status":{"timestamp":"2020-05-15T13:03:28.7248364Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Creating","status":{"timestamp":"2020-09-17T06:19:16.8110459Z"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-76273632-96ac-11ea-a286-70bc107fb78d?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-b3af7fe4-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 cache-control: - no-cache content-length: @@ -84,7 +84,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:30 GMT + - Thu, 17 Sep 2020 06:19:18 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1194' status: code: 201 message: Created @@ -110,16 +110,16 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-76273632-96ac-11ea-a286-70bc107fb78d?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-b3af7fe4-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 response: body: string: '{"status":"Succeeded"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-76273632-96ac-11ea-a286-70bc107fb78d?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus/operationStatuses/replications-b3af7fe4-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 cache-control: - no-cache content-length: @@ -127,7 +127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:41 GMT + - Thu, 17 Sep 2020 06:19:29 GMT expires: - '-1' pragma: @@ -155,13 +155,13 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-09-17T06:19:28.1749215Z"}}}' headers: cache-control: - no-cache @@ -170,7 +170,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:41 GMT + - Thu, 17 Sep 2020 06:19:29 GMT expires: - '-1' pragma: @@ -198,15 +198,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications?api-version=2017-10-01 response: body: - string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}},{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/eastus","name":"eastus","location":"eastus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:32.6211908Z"}}}]}' + string: '{"value":[{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-09-17T06:19:28.1749215Z"}}},{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/eastus","name":"eastus","location":"eastus","tags":{},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-09-17T06:19:20.7500212Z"}}}]}' headers: cache-control: - no-cache @@ -215,7 +215,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:42 GMT + - Thu, 17 Sep 2020 06:19:30 GMT expires: - '-1' pragma: @@ -247,15 +247,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-09-17T06:19:28.1749215Z"}}}' headers: cache-control: - no-cache @@ -264,7 +264,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:44 GMT + - Thu, 17 Sep 2020 06:19:32 GMT expires: - '-1' pragma: @@ -280,7 +280,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1193' status: code: 200 message: OK @@ -294,15 +294,15 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus?api-version=2017-10-01 response: body: - string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-05-15T13:03:42.0831154Z"}}}' + string: '{"type":"Microsoft.ContainerRegistry/registries/replications","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863/replications/southcentralus","name":"southcentralus","location":"southcentralus","tags":{"key":"value"},"properties":{"provisioningState":"Succeeded","status":{"displayStatus":"Ready","timestamp":"2020-09-17T06:19:28.1749215Z"}}}' headers: cache-control: - no-cache @@ -311,7 +311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:44 GMT + - Thu, 17 Sep 2020 06:19:33 GMT expires: - '-1' pragma: @@ -341,8 +341,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -358,11 +358,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:03:45 GMT + - Thu, 17 Sep 2020 06:19:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-c110e6f0-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 pragma: - no-cache server: @@ -372,7 +372,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14996' status: code: 202 message: Accepted @@ -386,256 +386,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 15 May 2020 13:03:56 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 15 May 2020 13:04:06 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 15 May 2020 13:04:17 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 15 May 2020 13:04:28 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 15 May 2020 13:04:38 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - response: - body: - string: 'null' - headers: - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 15 May 2020 13:04:49 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-8235ea15-96ac-11ea-a5ba-70bc107fb78d?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/southcentralus/operationResults/replications-c110e6f0-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 response: body: string: '' @@ -645,7 +399,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:04:59 GMT + - Thu, 17 Sep 2020 06:19:46 GMT expires: - '-1' pragma: @@ -671,15 +425,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-05-15T13:03:22.3983566Z","provisioningState":"Deleting","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_replication12ea1863/providers/Microsoft.ContainerRegistry/registries/pyacr12ea1863","name":"pyacr12ea1863","location":"eastus","tags":{},"properties":{"loginServer":"pyacr12ea1863.azurecr.io","creationDate":"2020-09-17T06:19:06.6927861Z","provisioningState":"Deleting","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -688,11 +442,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:11 GMT + - Thu, 17 Sep 2020 06:19:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-af118be8-96ac-11ea-a3d3-70bc107fb78d?api-version=2017-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-c8dbee16-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 pragma: - no-cache server: @@ -702,7 +456,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14995' status: code: 202 message: Accepted @@ -716,10 +470,10 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-af118be8-96ac-11ea-a3d3-70bc107fb78d?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ContainerRegistry/locations/eastus/operationResults/registries-c8dbee16-f8ad-11ea-b58e-0242ac110003?api-version=2017-10-01 response: body: string: '' @@ -729,7 +483,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:05:23 GMT + - Thu, 17 Sep 2020 06:20:12 GMT expires: - '-1' pragma: diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml index 18ddb02be0e1..1801548e8f5a 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml +++ b/sdk/containerregistry/azure-mgmt-containerregistry/tests/recordings/test_mgmt_containerregistry_2018_02_01_preview.test_webhook.yaml @@ -14,15 +14,15 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8?api-version=2017-10-01 response: body: - string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8","name":"pyacrb3e116b8","location":"eastus","tags":{},"properties":{"loginServer":"pyacrb3e116b8.azurecr.io","creationDate":"2020-05-15T13:05:45.0867599Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' + string: '{"sku":{"name":"Premium","tier":"Premium"},"type":"Microsoft.ContainerRegistry/registries","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8","name":"pyacrb3e116b8","location":"eastus","tags":{},"properties":{"loginServer":"pyacrb3e116b8.azurecr.io","creationDate":"2020-09-17T06:20:28.5005386Z","provisioningState":"Succeeded","adminUserEnabled":false,"networkRuleSet":{"defaultAction":"Allow","virtualNetworkRules":[],"ipRules":[]}}}' headers: cache-control: - no-cache @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:46 GMT + - Thu, 17 Sep 2020 06:20:31 GMT expires: - '-1' pragma: @@ -47,7 +47,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:50 GMT + - Thu, 17 Sep 2020 06:20:35 GMT expires: - '-1' pragma: @@ -99,7 +99,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -113,8 +113,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -130,7 +130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:50 GMT + - Thu, 17 Sep 2020 06:20:35 GMT expires: - '-1' pragma: @@ -163,8 +163,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: PATCH @@ -180,7 +180,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:52 GMT + - Thu, 17 Sep 2020 06:20:37 GMT expires: - '-1' pragma: @@ -196,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 200 message: OK @@ -210,8 +210,8 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: GET @@ -227,7 +227,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:52 GMT + - Thu, 17 Sep 2020 06:20:37 GMT expires: - '-1' pragma: @@ -257,8 +257,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST @@ -274,7 +274,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:53 GMT + - Thu, 17 Sep 2020 06:20:38 GMT expires: - '-1' pragma: @@ -306,15 +306,15 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_containerregistry_2018_02_01_preview_test_webhookb3e116b8/providers/Microsoft.ContainerRegistry/registries/pyacrb3e116b8/webhooks/pyacrb3e116b8/ping?api-version=2017-10-01 response: body: - string: '{"id":"149dc2d0-9658-4c7d-97a7-ad6051c7aaff"}' + string: '{"id":"0acb89dd-ae71-41ea-b540-da1a11eff127"}' headers: cache-control: - no-cache @@ -323,7 +323,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 15 May 2020 13:05:53 GMT + - Thu, 17 Sep 2020 06:20:43 GMT expires: - '-1' pragma: @@ -355,8 +355,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -370,7 +370,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:05:56 GMT + - Thu, 17 Sep 2020 06:20:47 GMT expires: - '-1' pragma: @@ -382,7 +382,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 200 message: OK @@ -398,8 +398,8 @@ interactions: Content-Length: - '0' User-Agent: - - python/3.8.1 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.3 - azure-mgmt-containerregistry/3.0.0rc13 Azure-SDK-For-Python + - python/3.6.9 (Linux-4.19.76-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 + msrest_azure/0.6.2 azure-mgmt-containerregistry/3.0.0rc15 Azure-SDK-For-Python accept-language: - en-US method: DELETE @@ -413,7 +413,7 @@ interactions: content-length: - '0' date: - - Fri, 15 May 2020 13:06:00 GMT + - Thu, 17 Sep 2020 06:20:53 GMT expires: - '-1' pragma: @@ -425,7 +425,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 200 message: OK