def delete_twin(cmd, name_or_hostname, twin_id, resource_group_name=None, etag=None): twin_provider = TwinProvider(cmd=cmd, name=name_or_hostname, rg=resource_group_name) return twin_provider.delete(twin_id=twin_id, etag=etag)
def delete_twin(cmd, name, twin_id, resource_group_name=None): twin_provider = TwinProvider(cmd=cmd, name=name, rg=resource_group_name) return twin_provider.delete(twin_id)